EdgeCurve Enum
How the line of an edge goes through the points the layout gives it, as the curves of d3 that Mermaid uses.
public enum EdgeCurveFields
| Name | Value | Description |
|---|---|---|
Basis | 0 | A B-spline: a smooth curve that does not go through the inner points (Mermaid basis, the default). |
Linear | 1 | Straight segments (Mermaid linear). |
Step | 2 | Horizontal and vertical segments, the vertical step at the middle of each segment (Mermaid step). |
StepBefore | 3 | Horizontal and vertical segments, the vertical step at the start of each segment (Mermaid stepBefore). |
StepAfter | 4 | Horizontal and vertical segments, the vertical step at the end of each segment (Mermaid stepAfter). |
Cardinal | 5 | A cardinal spline through every point (Mermaid cardinal). |
CatmullRom | 6 | A centripetal Catmull–Rom spline through every point (Mermaid catmullRom). |
MonotoneX | 7 | A curve through every point that keeps the monotonicity in x (Mermaid monotoneX). |
MonotoneY | 8 | A curve through every point that keeps the monotonicity in y (Mermaid monotoneY). |
Natural | 9 | A natural cubic spline through every point (Mermaid natural). |
BumpX | 10 | Cubic curves between the points, with horizontal tangents (Mermaid bumpX). |
BumpY | 11 | Cubic curves between the points, with vertical tangents (Mermaid bumpY). |