glint-line-type-select
Select button that allows the user to pick a line type for edges in a graph.
<glint-diagram-control-layout>
<glint-class-diagram diagram
[graph]="graph"
[lineType]="lineType" />
<glint-line-type-select control [(lineType)]="lineType" [options]="lineTypes"/>
</glint-diagram-control-layout>
[(lineType)]
: bind the lineType to a variable[options]
(optional): Limit the options to choose from.
Line Types
The following line types are supported:
ORTHOGONAL
: Lines with only straight vertical and horizonal line segments.POLYLINE
: Lines with multiple straight line segments that can have any angle.SPLINES
: Smooth lines using splines.