English
@eightkk/vue-weave / core / graphLayoutBounds
Function: graphLayoutBounds()
graphLayoutBounds(
layout,labelReach?):GraphBounds
Defined in: src/core/graphView.ts:180
Computes the bounding rectangle of every node and edge path in a layout. Edge labels are included.
Parameters
layout
Pick<GraphLayout, "boxes" | "paths" | "edgeLabels">
labelReach?
number = defaultLabelReach