mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	chore: merged with develop
This commit is contained in:
		@@ -188,7 +188,7 @@ describe('Entity Relationship Diagram', () => {
 | 
			
		||||
    erDiagram
 | 
			
		||||
        CLUSTER {
 | 
			
		||||
          varchar(99) name
 | 
			
		||||
          string(255) description 
 | 
			
		||||
          string(255) description
 | 
			
		||||
        }
 | 
			
		||||
      `,
 | 
			
		||||
      { logLevel: 1 }
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
import { imgSnapshotTest, renderGraph } from '../../helpers/util';
 | 
			
		||||
 | 
			
		||||
describe('Flowchart ELK', () => {
 | 
			
		||||
describe.skip('Flowchart ELK', () => {
 | 
			
		||||
  it('1-elk: should render a simple flowchart', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `flowchart-elk TD
 | 
			
		||||
 
 | 
			
		||||
@@ -670,6 +670,17 @@ title: Simple flowchart
 | 
			
		||||
---
 | 
			
		||||
flowchart TD
 | 
			
		||||
A --> B
 | 
			
		||||
`,
 | 
			
		||||
      { titleTopMargin: 0 }
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
  it('3192: It should be possieble to render flowcharts with invisible edges', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `---
 | 
			
		||||
title: Simple flowchart with invisible edges
 | 
			
		||||
---
 | 
			
		||||
flowchart TD
 | 
			
		||||
A ~~~ B
 | 
			
		||||
`,
 | 
			
		||||
      { titleTopMargin: 0 }
 | 
			
		||||
    );
 | 
			
		||||
 
 | 
			
		||||
@@ -116,7 +116,11 @@ context('Sequence diagram', () => {
 | 
			
		||||
        loop Loopy
 | 
			
		||||
            Bob->>Alice: Pasten
 | 
			
		||||
        end      `,
 | 
			
		||||
      { wrap: true }
 | 
			
		||||
      {
 | 
			
		||||
        sequence: {
 | 
			
		||||
          wrap: true,
 | 
			
		||||
        },
 | 
			
		||||
      }
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
  context('font settings', () => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user