Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Setting layerName on selectionAdornmentTemplate breaks the diagram

$
0
0

@bjuskiw_synergycodes wrote:

When a layer is specified for selection adornments, after a few selects and deselects the diagram will stop rendering any updates. The console will show this error:
image

selectionAdornmentTemplate used:
    selectionAdornmentTemplate: $(go.Adornment, 'Auto', { layerName: '' },
      $(go.Shape, 'RoundedRectangle', {
        fill: null,
        parameter1: 24,
        stroke: 'red',
        strokeWidth: 3,
      }),
      $(go.Placeholder, {
        margin: -12,
      })
    )

This will also happen for other layers. any chance to prevent that? I need the adornment to be rendered below the node itself.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles