LineCrossingsPluginOptions
Options for the line crossings plugin.
| Name | Type | Description |
|---|---|---|
| bridgeType | "gap" | "dot" | "arch" | Type of bridge to use. Defaults to 'arch'. |
| dotColor? | string | Color to use for dot bridges. Defaults to null, and the dot is painted with the stroke color of the dominant segment. You can also control this via the CSS class defined by the constant CLASS_LINE_CROSSING_BRIDGE_DOT, but using CSS will be lost in an SVG export. |
| dotRadius? | number | Radius to use for dot bridges. Defaults to 5. |
| onTap? | (edge1:Edge, edge2:Edge, canvasLocation:PointXY, e:MouseEvent) => any | Optional function to invoke when the user taps on a bridge. This will only fire for bridge types that draw extra components - arch and dot - but the gap bridge just masks |
| orientation | "v" | "h" | Whether to apply the bridge to the horizontal or the vertical segment in a crossing. Defaults to horizontal. |