I want create a sub-graph which contains multiport colored node inside it and connections among them. But when sub-graph is collapsed it should show the icon as that of colored node with port. I am attaching here with this post sample what i want to achieve. I have already colored node. I want to create subgraph with ports inside when expanded and ports outside when collapsed (exactly same icon as the colored node). Can i do this using go sub-graph? If yes, how should be the sub-graph class so that it will have colored node icon when collapsed and when expanded as shown in the sample attached with this post.
Thanks and regards,
Yogesh