11 lines
		
	
	
		
			619 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			619 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import type { InternalHelpers, LayoutData, RenderOptions, SVG } from 'mermaid';
 | |
| /**
 | |
|  * Render function for cose-bilkent layout algorithm
 | |
|  *
 | |
|  * This follows the same pattern as ELK and dagre renderers:
 | |
|  * 1. Insert nodes into DOM to get their actual dimensions
 | |
|  * 2. Run the layout algorithm to calculate positions
 | |
|  * 3. Position the nodes and edges based on layout results
 | |
|  */
 | |
| export declare const render: (data4Layout: LayoutData, svg: SVG, { insertCluster, insertEdge, insertEdgeLabel, insertMarkers, insertNode, log, positionEdgeLabel, }: InternalHelpers, { algorithm: _algorithm }: RenderOptions) => Promise<void>;
 | 
