OptionalctxContext for the vertex, as passed in by the SurfaceComponent. From 6.41.0 this approach is preferred
to setting obj and shapeLibrary, and in 7.x only this approach will be supported.
OptionallabelThe name of the property that identifies some vertex's label. Defaults to "label".
OptionallabelOptional stroke width to use for labels. Defaults to "0.25px".
Backing data for the vertex. If you do not provide ctx, this is required.
ShapeLibrary to use. If you do not provide ctx, this is required.
OptionalshowDefaults to false. If true, a label will be written on the shape (using an SVG text element).
Props for the LegacyShapeComponent.