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?