add hw2
This commit is contained in:
10
node_modules/mermaid/dist/rendering-util/layout-algorithms/cose-bilkent/render.d.ts
generated
vendored
Normal file
10
node_modules/mermaid/dist/rendering-util/layout-algorithms/cose-bilkent/render.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
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>;
|
||||
Reference in New Issue
Block a user