Page 1 of 1

SimpleGraph, how to create a new "component"?

PostPosted: February 19th, 2009, 11:43 am
by fellipeh
Hello, I'm from Brazil - sorry my poor english :oops: - I want to create a software to develop database, the famous "DataBase Designer", and I like to use SimpleGraph to do these... can I use for this propose? To use for these propose, I have to create a new "component" inherited from normal Rectangle, with can I write a "fields" into the new Rectangle, and in top, the name of "table". Can I use SimpleGraph for this? if not, what component can I use?

Best Regards
Fellipe H.

Re: SimpleGraph, how to create a new "component"?

PostPosted: February 20th, 2009, 2:22 pm
by Kambiz
Gi Fellipe,

In my point of view, yes, you can. It is not so difficult to subclass SG graph classes to create a new one.

Re: SimpleGraph, how to create a new "component"?

PostPosted: February 21st, 2009, 2:19 am
by fellipeh
can you post a simple example, to how I do these?

regards
Fellipe H

Re: SimpleGraph, how to create a new "component"?

PostPosted: February 21st, 2009, 11:43 am
by Kambiz
Sorry, but I can't.

Look at the source of SimpleGraph. You will find the example.