主题
Function: defaultMeasureLayout()
defaultMeasureLayout(
data4Layout,__namedParameters):Promise<{graph:Graph;groups: {clusters:D3Selection<SVGGElement>;edgeLabels:D3Selection<SVGGElement>;edgePaths:D3Selection<SVGGElement>;nodes:D3Selection<SVGGElement>;rootGroups:D3Selection<SVGGElement>; };nodeElements:Map<string,D3Selection<SVGElement|SVGGElement>>; }>
Defined in: packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:203
Parameters
data4Layout
__namedParameters
Returns
Promise<{ graph: Graph; groups: { clusters: D3Selection<SVGGElement>; edgeLabels: D3Selection<SVGGElement>; edgePaths: D3Selection<SVGGElement>; nodes: D3Selection<SVGGElement>; rootGroups: D3Selection<SVGGElement>; }; nodeElements: Map<string, D3Selection<SVGElement | SVGGElement>>; }>