Creating Sub-Diagrams
Last updated
Last updated
Legend has it that NextSketch 2 has sub-diagramming capabilities, so let's take a look shall we?
Containers are like Nodes. They look like Nodes, they behave like Nodes, they are even inspectable like Nodes, but they aren't. If you double click on them, they lead you to another a sub-sketch!
This Sketch is empty though because our Container friend doesn't have anything interesting going on. Nonetheless, you can create Nodes and Links inside the Container just like you would in the root.
Now, let's connect something to our Container by pressing 'B' to go back, and adding a Link between it and another Node.
If we head inside the Container again, we can see that other Node's Reference has appeared.
This Reference tells us that this sub-sketch has something to do with an externally connected Node. You can interact and Link to this Reference, but you can't change it's properties because it mimics it's original Node. You also cannot delete References, you'll have to go back and delete all Links from the Container to the Objects to have their References disappear.
As you can imagine, Containers are a mega-powerful tool for going from a high-level perspective to something a little more low-level. There's no real limit for how many Containers you use, so make good use of them.