linkTemplateMap property

Map<String, Link> get linkTemplateMap

Gets or sets a Map mapping template names to Links. These links are copied for each link data that is added to the #model.

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

Implementation

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

Implementation

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