Placement
Where one node ended up.
Used as Input
0
functions accept this type(+16 nested)
Used as Output
0
functions return this type(+11 nested)
Type Definition
8 nested items
struct— Where one node ended up.
x*:f64— Horizontal coordinate, growing to the right.
y*:f64— Vertical coordinate, growing downwards (SVG convention).
order*:u32— Position within the layer. Routing waypoints count too, so two nodes with a long edge's
rank:Option<i64>— Layer index.
None for an edgeless node packed into the grid below the layered drawing.size*:Size— The full extent of an axis-aligned box, in px.
height*:f64— Extent along
y.width*:f64— Extent along
x.Example JSON Value
json
{
"center": {
"x": 0.2,
"y": 0.2
},
"order": 1,
"size": {
"height": 0.2,
"width": 0.2
}
}