itemTemplateMaps and alignment arranget

Hello
Is there a way to properly add two ItemTemplate or itemTemplateMap similarly as in the example pipes.html.
Node is a “spot” and ItemTemplate elements are to be arranged by the alignment bind (spot) and visible depending on other conditions.

Regards
Tadeusz

I’m sorry, but I don’t understand what you are really asking for. It seems you already know about Panel.itemArray, item templates, and Panel.itemTemplateMap.

Yes, the Pipes sample, Pipes, demonstrates one kind of use of item templates where each panel is arranged by the “Spot” Panel according to its GraphObject.alignment property.

This is also discussed by GoJS Panels -- Northwoods Software, GoJS Item Arrays-- Northwoods Software, and GoJS Template Maps -- Northwoods Software.

But what is your question?