nodeTemplate property

Part get nodeTemplate

Gets or sets the default Node template used as the archetype for node data that is added to the #model. Setting this property just modifies the #nodeTemplateMap by replacing the entry named with the empty string.

The value must not be null. The template may be either a Node or a simple Part, but not a Link or a Group.

This Part must not be in the visual tree of any Diagram.

Implementation

_i3.Part get nodeTemplate => _i4.getProperty(
      this,
      'nodeTemplate',
    );
set nodeTemplate (Part value)

Implementation

set nodeTemplate(_i3.Part value) {
  _i4.setProperty(
    this,
    'nodeTemplate',
    value,
  );
}