How do I grab all shapes that are connected? I see methods to check if two shapes are connected...but nothing to show which objects are connected...Perhaps as an array of JSON like this?
[
{shape1: { name: "something1", path: "/index" }, connector: { name: "connectortype1" }, shape2: { name: "something2", path: "/index2" } },
{shape1: { name: "something3", path: "/index" }, connector: { name: "connectortype1" }, shape2: { name: "something4", path: "/index2" } }
]
[
{shape1: { name: "something1", path: "/index" }, connector: { name: "connectortype1" }, shape2: { name: "something2", path: "/index2" } },
{shape1: { name: "something3", path: "/index" }, connector: { name: "connectortype1" }, shape2: { name: "something4", path: "/index2" } }
]