Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Basic questions
[Zest] Basic questions [message #243687] Mon, 16 June 2008 09:02 Go to next message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
Hi !

I have to graph information from a database, and we have created a
viewer based on GEF. But when i see what can do Zest, it seems that it
can be save us a lot of time ! But i have some basic question to see if
we will not be blocked at some point before switching from GEF to Zest :

- is it possible to remove nodes/connections at demand, for example user
select a node, push "suppr", the node is deleted from the viewer and
from the model (the database).

- Is it possible to add a connection with drag'n drop between 2 nodes ?

- Can i provide a custom Figure for a node ? if we want to draw complex
informations for a node.

- Is there some known limitations, ex: the number of nodes/connections
in the Graph ? (I had some problems with GEF)


Thanks for the informations.

Laurent Marchal.
Re: [Zest] Basic questions [message #243692 is a reply to message #243687] Mon, 16 June 2008 11:02 Go to previous messageGo to next message
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
I am no expert but I will try to answer your questions.

Removing nodes should be no problem, what I do is: the user selects,
presses delete, then I remove the deleted node from my model, and redo the
layout.

I do not think you can add a connection with drag and drop between two
nodes, you wlll probably have to write this yourself (please correct me
someone if I am wrong).

Custom figures for a node I am told will come out this summer.

I have no performance problem with 500 or so nodes.

I hope this helps, but like I said I have also just started with Zest, so
I am not an expert.
Re: [Zest] Basic questions [message #243714 is a reply to message #243692] Mon, 16 June 2008 13:50 Go to previous messageGo to next message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
Thanks for your answers,

I think i will wait if i can not provide custom figures for nodes. This
is very important in my product.

If someone use Zest to edit graphs (create/remove nodes/connections)
please tell me if it's easy to do so.

Regards.

kentusha wrote:
> I am no expert but I will try to answer your questions.
>
> Removing nodes should be no problem, what I do is: the user selects,
> presses delete, then I remove the deleted node from my model, and redo
> the layout.
>
> I do not think you can add a connection with drag and drop between two
> nodes, you wlll probably have to write this yourself (please correct me
> someone if I am wrong).
>
> Custom figures for a node I am told will come out this summer.
>
> I have no performance problem with 500 or so nodes.
>
> I hope this helps, but like I said I have also just started with Zest,
> so I am not an expert.
>
Re: [Zest] Basic questions [message #243736 is a reply to message #243692] Tue, 17 June 2008 03:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Thanks for helping with this Kentusha!

You are right,
1) Adding and removing should work fine
2) Custom figures and documentation are the first two things on the 3.5
development plan. I am just starting that and I will post a preliminary
version here within a few days to get feedback and help drive requirements.

3) We may look at simple drag and drop, but for real "editing", GEF is
more suited for this. Once you get into D&D you probably want undo /
redo, actions, tools, etc.. and this is the whole point of GEF.

4) I'm happy to hear that things work well with lots of nodes. I spent
a bunch of time last year working on optimizations for this. Some of the
layouts will likely keel over and die (since they or O(n^2), but Zest
should do ok) :-)

Cheers
ian

kentusha wrote:
> I am no expert but I will try to answer your questions.
>
> Removing nodes should be no problem, what I do is: the user selects,
> presses delete, then I remove the deleted node from my model, and redo
> the layout.
>
> I do not think you can add a connection with drag and drop between two
> nodes, you wlll probably have to write this yourself (please correct me
> someone if I am wrong).
>
> Custom figures for a node I am told will come out this summer.
>
> I have no performance problem with 500 or so nodes.
>
> I hope this helps, but like I said I have also just started with Zest,
> so I am not an expert.
>
Re: [Zest] Basic questions [message #243746 is a reply to message #243736] Tue, 17 June 2008 06:16 Go to previous messageGo to next message
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
I should be able to test custom figures for you.

In order to have labels on the top left of the node I draw the labels on
my own layer.

This works, but has the effect that when I drag and drop, the label is
only moved after a layout is invoked (the label is only dropped, but not
dragged).
Re: [Zest] Basic questions [message #243770 is a reply to message #243736] Tue, 17 June 2008 10:17 Go to previous message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
Thanks both for your answers.

Ian Bull wrote:
> Thanks for helping with this Kentusha!
>
> You are right,
> 1) Adding and removing should work fine
> 2) Custom figures and documentation are the first two things on the 3.5
> development plan. I am just starting that and I will post a preliminary
> version here within a few days to get feedback and help drive requirements.
>
> 3) We may look at simple drag and drop, but for real "editing", GEF is
> more suited for this. Once you get into D&D you probably want undo /
> redo, actions, tools, etc.. and this is the whole point of GEF.
>
> 4) I'm happy to hear that things work well with lots of nodes. I spent
> a bunch of time last year working on optimizations for this. Some of the
> layouts will likely keel over and die (since they or O(n^2), but Zest
> should do ok) :-)
>
> Cheers
> ian
>
> kentusha wrote:
>> I am no expert but I will try to answer your questions.
>>
>> Removing nodes should be no problem, what I do is: the user selects,
>> presses delete, then I remove the deleted node from my model, and redo
>> the layout.
>>
>> I do not think you can add a connection with drag and drop between two
>> nodes, you wlll probably have to write this yourself (please correct
>> me someone if I am wrong).
>>
>> Custom figures for a node I am told will come out this summer.
>>
>> I have no performance problem with 500 or so nodes.
>>
>> I hope this helps, but like I said I have also just started with Zest,
>> so I am not an expert.
>>
Previous Topic:what's is the concept of "Hints" in Draw2D
Next Topic:Zest Layout Algorithmn
Goto Forum:
  


Current Time: Thu Apr 25 20:19:20 GMT 2024

Powered by FUDForum. Page generated in 0.03648 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top