Files
infocom-systems-design/node_modules/mermaid/dist/rendering-util/layout-algorithms/cose-bilkent/render.d.ts
2025-10-03 22:27:28 +03:00

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>;