Skip to content

mermaid


Function: paintLayoutData()

paintLayoutData(data4Layout, context, options): Promise<void>

Defined in: packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:210

Parameters

data4Layout

LayoutData

context

CommonLayoutPaintContext<unknown, { graph: Graph; groups: { clusters: D3Selection<SVGGElement>; edgeLabels: D3Selection<SVGGElement>; edgePaths: D3Selection<SVGGElement>; nodes: D3Selection<SVGGElement>; rootGroups: D3Selection<SVGGElement>; }; nodeElements: Map<string, D3Selection<SVGElement | SVGGElement>>; }>

options

CommonLayoutPaintOptions = {}

Returns

Promise<void>

Opens in mermaid.ai