nodeTemplateMap property
Gets or sets a Map mapping template names to Parts. These nodes are copied for each node data that is added to the #model.
The new value must not be null and must contain Nodes or simple Parts. These Parts must not be in the visual tree of any Diagram. Replacing this Map will automatically call #rebuildParts.
If you modify this Map, by replacing a Node or by adding or removing a map entry, you need to explicitly call #rebuildParts afterwards. Any new map values must not be Links or Groups.
If you want to create Groups, use #groupTemplateMap instead.
Implementation
_i3.Map<_i2.String, _i3.Part> get nodeTemplateMap => _i4.getProperty(
this,
'nodeTemplateMap',
);