Props for the ShapeComponent.

Param: obj

Backing data for the vertex. Required.

Param: shapeLibrary

Shape library to use to render the shape. Required. The type value in obj will be used to find the appropriate SVG to render.

Param: showLabels

If true, a label will be written on the shape (using an SVG text element)

Param: labelProperty

The name of the property that identifies some vertex's label. Defaults to "label".

Param: labelStrokeWidth

Optional stroke width to use for labels. Defaults to "0.25px".

interface ShapeComponentProps {}
Version :