Skip to main content

Home > @jsplumbtoolkit/browser-ui > ViewOptionsCommon

ViewOptionsCommon interface

Common options for edge/node/group/port definitions in a view.


export interface ViewOptionsCommon 


events?ViewEventOptions(Optional) Optional map of event bindings.
mergeStrategy?string(Optional) When 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'.
parent?string | Array<string>(Optional) Optional 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.