Skip to content

@graphty/graph-io / positions / FilePositionGroup

Interface: FilePositionGroup ​

Defined in: positions/types.ts:201

A group container's box in the neutral convention: (x, y) is the box's center, y up.

Properties ​

box ​

readonly box: object

Defined in: positions/types.ts:205

The box: center, width and height in the file's unit.

height ​

readonly height: number

The box's height.

width ​

readonly width: number

The box's width.

x ​

readonly x: number

The box's center, x.

y ​

readonly y: number

The box's center, y.


node ​

readonly node: number

Defined in: positions/types.ts:203

The container node, by index.