Skip to main content
ShapeComponentProps
Props for the ShapeComponent.
NameTypeDescription
labelColor?stringColor for the label. Defaults to #000000.
labelFillRatio?numberWhen using a multiline label, defines the maximum width of any given line.
labelProperty?stringName of the property containing the object's label. Defaults to "label".
labelStrokeWidth?numberStroke width for the label text.
multilineLabels?booleanDefaults to true - the label will be drawn across multiple lines.
objObjectDataBacking data for the vertex
showLabels?booleanWhether or not to show labels Defaults to false.