updateAllTargetBindings method
Update all of the data-bound properties of Nodes and Links in this diagram, without having to call Model#setDataProperty. This copies/converts model data properties to set properties on Parts. This method does not conduct a transaction, so you need to start and commit one yourself.
It is better to call Model#setDataProperty to modify data properties, because that will both record changes for undo/redo and will update all bindings that make depend on that property. Simply modifying the data and calling an "update..." method will not be able to record the previous value(s) of properties in the model data to support undo.
If you know which model data objects have been modified, it will be more efficient to update only the Parts that need it by calling Panel#updateTargetBindings.
To update relationships between nodes, call #updateAllRelationshipsFromData. @param {string=} srcprop An optional source data property name: when provided, only evaluates those Bindings that use that particular property; when not provided or when it is the empty string, all bindings are evaluated. @see #updateAllRelationshipsFromData
Implementation
void updateAllTargetBindings([_i2.String? srcprop]) {
_i4.callMethod(
this,
'updateAllTargetBindings',
[srcprop ?? _i5.undefined],
);
}