|Anchors or nested shapes? [message #710859]
||Fri, 05 August 2011 13:52
| Hernan Gonzalez
Registered: October 2010
Location: Buenos Aires, Argentina
I'm a newbie at Graphiti, I'm designing some editor that has some similarities with this GMF tutorial example. Basically, my nodes are functions with (distinct, named) inputs, and outputs, each connections links an output to an input. I'm trying to decide between two approaches: |
1. each individual input/output is an anchor (fix point) of the function node (as in most graphiti examples)
2. each individual input/output is a nested object/shape of the parent node (as in that gmf tutorial)
I will have many different functions (they are not necessarily known at compile time) - but once a node is created, it's function "signature" (inputs and outputs) is fixed. Perhaps some inputs can become hidden (by user action or by the domain).
I'm (slightly, hesitantly) tending to approach 2, but I didn't see any Graphiti example of that approach, and I wonder if that is feasible or advisable.
[Updated on: Fri, 05 August 2011 13:56]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01888 seconds