In addition to the standard "StepTemplate" that can display information, there are two node DataTemplates: "TransitionTemplate" and "ParallelTemplate".
The "ParallelTemplate" is drawn as a rectangular bar whose width is bound to the
NodeData.Width property. To allow the user to resize that Rectangle,
the go:Part.SelectionElementName
refers to that "Bar" element.
Because that data-binding is Mode=TwoWay
,
the data property is updated when the user resizes that rectangular bar.
The "ParallelTemplate" demonstrates the use of a custom Resize adornment.
Instead of the standard eight resize tool handles positioned within a SpotPanel,
the custom "ResizeAdornmentTemplate" uses only two tool handles,
one at the middle-left, and one at the middle-right.
Note that each Adornment for resizing a Node
is managed by the ResizingTool and is independent of other Adornments
used by other tools. Tool adornments are also independent of the Adornment used to show
selection (when go:Part.SelectionAdorned="True"
).