groupTemplateMap property

Map<String, Group> get groupTemplateMap

Gets or sets a Map mapping template names to Groups. These groups are copied for each group data that is added to the #model.

The new value must not be null, nor may it contain a Node or Link or simple Part. The Links 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 Group in it or by adding or removing a map entry, you need to explicitly call #rebuildParts afterwards.

Implementation

_i3.Map<_i2.String, _i3.Group> get groupTemplateMap => _i4.getProperty(
      this,
      'groupTemplateMap',
    );
set groupTemplateMap (Map<String, Group> value)

Implementation

set groupTemplateMap(_i3.Map<_i2.String, _i3.Group> value) {
  _i4.setProperty(
    this,
    'groupTemplateMap',
    value,
  );
}