With value intersection
(default), the distances
(taxi-turn
and taxi-turn-min-distance
)
are considered from the outside of the source’s bounds to the outside of the target’s bounds.
With value node-position
, the distances are considered from the source position to the target position.
The node-position
option makes calculating edge points easier — but it should be used carefully because
you can create invalid points that intersection
would have automatically corrected.
The main direction of the edge, the direction starting out from the source node; may be one of:
auto
: Automatically use vertical
or horizontal
, based on whether the vertical or horizontal distance is largest.vertical
: Automatically use downward
or upward
, based on the vertical direction from source to target.downward
: Bundle outgoers downwards.upward
: Bundle outgoers upwards.horizontal
: Automatically use righward
or leftward
, based on the horizontal direction from source to target.rightward
: Bundle outgoers righwards.leftward
: Bundle outgoers leftwards.The distance along the primary axis where the first turn is applied.
'20px'
) or it may be a relative distance
between the source and target (e.g. '50%'
).'-20px'
).The minimum distance along the primary axis that is maintained between the nodes and the turns.
'5px'
).
Taxi edges For hierarchical, bundled edges (curve-style: taxi)
https://js.cytoscape.org/#style/taxi-edges