Introducing bindings

Binding is the ability to link a property of the node instance (the source property) to a property of the graphical representation of the node (the destination property). The binding ensures that changes to the source property are reflected by the destination property.
Use binding with the templating mechanism. It allows you to automatically initialize the properties of template shapes without any coding. For example, the default node template binds the label property of the node to the text property of its text shape. As a result, the text shape displays the node label (source property), and changes to the label property are propagated to the text shape (destination property).
In Dojo Diagrammer, the binding mechanism is based on the dojox.dtl engine and provides powerful templating features. See http://docs.dojocampus.org/dojox/dtl/ for more details.