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, http://gojs.net/latest/samples/pipes.html, 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 http://gojs.net/latest/intro/panels.html, http://gojs.net/latest/intro/itemArrays.html, and http://gojs.net/latest/intro/templateMaps.html.

But what is your question?