mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	#1212 Class definition is not applied to flowchart nodes with links
This commit is contained in:
		@@ -374,6 +374,7 @@ describe('Flowchart', () => {
 | 
			
		||||
        click B testClick "click test"
 | 
			
		||||
        classDef someclass fill:#f96;
 | 
			
		||||
        class A someclass;
 | 
			
		||||
        class C someclass;
 | 
			
		||||
      `,
 | 
			
		||||
      {
 | 
			
		||||
        listUrl: false,
 | 
			
		||||
@@ -409,7 +410,9 @@ describe('Flowchart', () => {
 | 
			
		||||
      click A "index.html#link-clicked" "link test"
 | 
			
		||||
      click B testClick "click test"
 | 
			
		||||
      classDef someclass fill:#f96;
 | 
			
		||||
      class A someclass;`,
 | 
			
		||||
      class A someclass;
 | 
			
		||||
      class C someclass;
 | 
			
		||||
      `,
 | 
			
		||||
      { flowchart: { htmlLabels: false } }
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user