Skip to main content

Function: CardinalityMarker()

function CardinalityMarker(props): ReactElement;

Crow's-foot marker for one ref end, drawn in local coordinates where the origin is on the table edge and +x points away from the table: one = bar, many = crow's foot, optional = circle.

Parameters​

props​

The cardinality, optionality and colour of the end.

bg​

string

end​

RouteEnd

endpoint​

RefEndpoint

stroke​

string

width​

number

Returns​

ReactElement