Interface: LayoutSnapshot
Defined in: api/geometry.ts:214
Plain, JSON-serializable snapshot of the graph's computed geometry.
clusters lists every cluster subgraph (recursively, nested clusters each get their own entry) with a computed bounding box; it is empty for graphs without clusters.
See
lib/common/types.h:GD_bb, ND_coord, ED_spl, GD_clust
Properties
bounds
ts
bounds: BoundsGeometry;Defined in: api/geometry.ts:215
clusters
ts
clusters: ClusterGeometry[];Defined in: api/geometry.ts:218
edges
ts
edges: EdgeGeometry[];Defined in: api/geometry.ts:217
nodes
ts
nodes: NodeGeometry[];Defined in: api/geometry.ts:216