Optional
anchorSpec for the anchor to use for both source and target for edges of this type.
Optional
anchors[source, target] anchor specs edges of this type.
Optional
connectorName/definition of the connector to use. If you omit this, the default connector will be used.
Optional
cssCSS class to add to edges of the type in the UI
Optional
detachableWhether or not edges of this type should be detachable with the mouse. Defaults to true.
Optional
endpointOptional spec to use for both the source and target endpoints for edges of this type.
Optional
endpointOptional paint style to use for hover on both the source and target endpoints for edges of this type.
Optional
endpointOptional paint style to use for hove on the [source, target] endpoints for edges of this type.
Optional
endpointOptional paint style to use for both the source and target endpoints for edges of this type.
Optional
endpointOptional paint styles to use for the [source, target] endpoints for edges of this type.
Optional
endpointsOptional specs for the [source, target] endpoints for edges of this type.
Optional
eventsOptional map of event bindings.
Optional
hoverPaint style to use for the edge when the pointer is hovering over it.
Optional
labelOptional label to use for the edge. If this is set, a label overlay will be created and the value of label
will be used
as the overlay's label. This value can be parameterised, in order to extract a value from the edge's backing data, eg. if you set label:"{{name}}"
then the Toolkit would attempt to extract a property with key name
from the edge's backing data, and use that property's value as
the label.
Optional
labelOptional css class to set on the label overlay created if label
is set. This is a static string and does not support
parameterisation like label
does.
Optional
labelOptional location for the label. If not provided this defaults to 0.5, but the label location can be controlled via the
labelLocationAttribute
.
Optional
labelThis defaults to labelLocation
, and indicates the name of a property whose value can be expected to hold the location at
which the label overlay should be located. The default value for this is labelLocation
, but the key here is that the Toolkit
looks in the edge data for labelLocation
, so the location is dynamic, and can be changed by updating labelLocation
.
This parameter allows you to change the name of the property that the Toolkit will look for in the edge data.
Optional
mergeWhen merging a type description into its parent(s), values in the child for connector
, anchor
and anchors
will
always overwrite any such values in the parent. But other values, such as overlays
, will be merged with their
parent's entry for that key. You can force a child's type to override every corresponding value in its parent by
setting mergeStrategy:'override'
.
Optional
outlineOptional width of the edge's outline. Defaults to 0.
Optional
overlaysArray of overlays to add to edges of this type.
Optional
paintPaint style to use for the edge.
Optional
parentOptional ID of one or more edge definitions to include in this definition. The child definition is merged on top of the parent definition(s). Circular references are not allowed and will throw an error.
Optional
reattachWhether or not when a user detaches a edge of this type it should be automatically reattached. Defaults to false.
The mapping for the definition of an edge inside a view.