From: vrecion <pav...@sy...> - 2005-02-23 09:14:37
|
Hi Marco. Layers and locks are fine. Regarding Parent and grouping: There is intention to move to svg. In svg format there is group element that encapsulates several objects into one group. Furthermore groups can be nested. So in fact grouping capability is already there. There is an example application that enables to insert svg object into graph. I hope that this behavior is what you have in mind. Pavel _____ From: ext...@li... [mailto:ext...@li...] On Behalf Of Marco Wobben Sent: Wednesday, February 23, 2005 9:46 AM To: ext...@li... Subject: [Extgraph-developer] TGraphNode.Parent Hi guys, Just some thoughts (and work in progress) on the GraphObjects... Parent I'm building some code into the TGraphNode to support some kind of Parent much like the TControl does in the VCL. This is for the obvious reason to support a grouping like behaviour. Parents would paint themselves first and in addition it would paint it's children. Similarly if moved, it would move the children. In several vector drawing tools it would be considered some kind of grouping where the parent is simply the first object in the list. Layer I'm also thinking about layers similar to this. Every GraphObject would be defaulted to the single layer in the TSimpleGraph. The Graph could have several layers and including a visible property and an ActiveLayer index. It would certainly add value to the current ZOrder and individual visible states. Lock Simple to realize is the lock propert on individual Nodes instead of the entire Graph. This could be finetuned into the layering and parenting... So far my thoughts. As work progresses I'll keep you posted. In the meanwhile I've discovered that I cannot add Tasks and stuff in the SourceForge site. Is there something you can do to arrange this? Marco. -- Phone +31 650.69.27.31 Email ma...@wo... ICQ 432807 Skype marcowobben "Trust is a future that brings what is needed, exactly how it is needed" |