|'remove' mapping in layer [message #1241107]
||Fri, 07 February 2014 13:54
| Wilbert Alberts
Registered: June 2010
I've busy creating a simple 'block' editor that shows how different blocks in a control are connected. Blocks are connected by terminals. Blocks, terminals and connections do have names.
In the most detailed view, blocks have edge nodes representing the terminals and edges are drawn between terminals. However, such diagram can easily be cluttered as a result of showing all terminals and their names. Therefore, I created a default layer that just shows an edge in case two blocks are connected by their terminals. As sometimes, identification of the involved terminals is needed, I created an additional layer that,when enabled shows the terminals.
My goal is to show relation between blocks when the additional layer is not selected. Selection of the additional layer should result in displaying the edge nodes and draw connections between them in stead of the blocks themselves.
However, I can not get rid of the original edge mappings when I activate the additional layer... What is the best way to achieve this.
Attached you'll find two diagrams (with and without the additional layer activated). Please disregard the difference in colors; I think I know how to fix that.
Powered by FUDForum
. Page generated in 0.02515 seconds