documentationfor yFiles for HTML 2.6

Usages of ObjectBindings

Properties

styleBindingsin EdgeCreatorGets or sets an optional set of bindings that will be applied to the edge's style.
preferredSizeBindingsin LabelCreatorGets or sets an optional binding that will be applied to the label.
styleBindingsin LabelCreatorGets or sets an optional set of bindings that will be applied to the label's style.
layoutBindingsin NodeCreatorGets or sets an optional set of bindings that will be applied to the node's layout.
styleBindingsin NodeCreatorGets or sets an optional set of bindings that will be applied to the node's style.

Method Parameters

EdgeCreator ()in EdgeCreatorCreates a new creator for edges.
createLabelBinding (function(TDataItem):string?, )in EdgeCreatorCreates a binding for labels that will be added to edges created by this instance.
createLabelsSource (function(TDataItem):Object, function(TLabelDataItem, Object):Object?, )in EdgeCreatorCreates a new source of label data items that will be added to edges created by this instance.
createEdgesSource (TDataItem[] | Iterable<TDataItem> | Map<any,TDataItem> | { [id: string]: TDataItem; } | (() => GeneratorLike<TDataItem>, function(TDataItem):Object, function(TDataItem):Object, function(TDataItem, Object):Object?, )in GraphBuilderCreates a new EdgesSource<TDataItem> and binds a collection of edge data items to it.
createGroupNodesSource (TDataItem[] | Iterable<TDataItem> | Map<any,TDataItem> | { [id: string]: TDataItem; } | (() => GeneratorLike<TDataItem>, function(TDataItem, Object):Object, )in GraphBuilderCreates a new NodesSource<TDataItem> and binds a collection of group node data items to it.
createNodesSource (TDataItem[] | Iterable<TDataItem> | Map<any,TDataItem> | { [id: string]: TDataItem; } | (() => GeneratorLike<TDataItem>, function(TDataItem, Object):Object, )in GraphBuilderCreates a new NodesSource<TDataItem> and binds a collection of node data items to it.
LabelCreator ()in LabelCreatorCreates a new creator for labels.
NodeCreator ()in NodeCreatorCreates a new creator for nodes or group nodes.
createLabelBinding (function(TDataItem):string?, )in NodeCreatorCreates a binding for labels that will be added to nodes created by this instance.
createLabelsSource (function(TDataItem):Object, function(TLabelDataItem, Object):Object?, )in NodeCreatorCreates a new source of label data items that will be added to nodes created by this instance.