• Post Reply Bookmark Topic Watch Topic
  • New Topic

Violet Graphics Editor  RSS feed

 
Paul Wright
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Violet is an open source graphics editor that some of you may be familiar with. A client wishes me to add another graph type to the editor to which I have done.

Now what I need to do is to be able to group objects together. I have created a larger object and I need to be able to drag smaller objects (nodes) into the larger one to which they will then become part of the larger one.

Ive had a look at the composite pattern but am having trouble finding a way to implement this.

Anyone know the framework on how to add objects to a larger object by dragging them to within the boundaries of the larger one.

I know what im asking is sort of vague but anyone know have code of previous examples where this has been done.

Any help in this matter would be much appreciated.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Violet appears to be a UML diagram editor, not a full graphics editor.
Surely the source code distributed with it will be your best inspiration.
How does Violet manage the objects you create with it?
Bill
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!