This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
In terms of how they may be used, what is the difference between nodes (DiagramNode) and shapes (DiagramShapes). Are shapes simply a way of applying a visual style to a node? |
|
|
A shape object defines a geometrical shape, such as a rectangle or ellipse or star. You can almost think of it as an enum (Rectangle, Ellipse, etc.) except that you can define your own shapes. A DiagramNode is an instance of a 'thing' in a diagram model. A node has a shape which specifies how to represent it. Many nodes can have the same shape. For example, you could have several rectangular nodes: there would be several DiagramNode objects but all of them would have the Rectangle shape. Shapes are part of the definition of how a node appears, but they don't control it entirely. They define the, well, shape of the node, but not (for example) its fill colour or border thickness. |
|