Skip to content

@graphty/graphty-element / schema / NodeBorderStyles

Variable: NodeBorderStyles ​

const NodeBorderStyles: ZodEnum<{ backward-slash: "backward-slash"; contiguous-arrow: "contiguous-arrow"; dash-dot: "dash-dot"; dashed: "dashed"; dotted: "dotted"; double: "double"; forward-slash: "forward-slash"; separate-arrow: "separate-arrow"; sinewave: "sinewave"; solid: "solid"; vertical-slash: "vertical-slash"; zigzag: "zigzag"; }>

Defined in: graphty-element/src/config/NodeStyle.ts:163

The line styles a node border is drawn in. Beside the dash patterns: a zigzag or a sine wave running round the node, short strokes across the ring (leaning either way or straight), a ring of small arrows chasing each other round it, or a bar of arrows joined head to tail (Cytoscape desktop's border line types).