Backing data for the vertex. Required. This is passed in as a prop to a component used to render a node/group, so you can pass it straight through from the parent to this component.
Optional
labelThe name of the property containing each vertex's label. Defaults to label
.
Stroke width to use on the text element rendering a label. Defaults to 1px.
Optional
showWhether or not to show labels on each shape. Defaults to false.
The surface that is rendering the vertex. Required. Again, this is passed in to the parent component.
Vertex to render. Required. This is passed in as a prop to a component used to render a node/group, so you can pass it straight through from the parent to this component.
Props for the shape component that renders SVG shapes.