Skip to content

@graphty/graph-io / positions / ImporterGroupBox

Interface: ImporterGroupBox ​

Defined in: positions/types.ts:105

A group container's box, as an importer's positions() hook gives it: (x, y) is where the box's anchor is, spelled like the node coordinates (the same y direction and anchor).

Properties ​

box ​

readonly box: object

Defined in: positions/types.ts:109

The box.

height ​

readonly height: number

The box's height.

width ​

readonly width: number

The box's width.

x ​

readonly x: number

The box's anchor, x.

y ​

readonly y: number

The box's anchor, y.


node ​

readonly node: number

Defined in: positions/types.ts:107

The container node, by index.