Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Ant diagrams

antelope
Discussion topic

Back to topic list

Re: Ant diagrams

Author danson at germane-software dot com
Full name danson at germane-software dot com
Date 2004-06-13 08:01:07 PDT
Message Hi Bob,

Thanks for following up on this. I've been swamped at work (we have a
couple fo critical deadlines coming up) and haven't had much time to spend
on the dependency graphing for Antelope.

I've inserted some comments below.

Dale


> Hi Dale
>
> I've just built and run CVS antelope and had a quick look at the code.
>
> Your SaxTree certainly helps build up the graph more easily than I do in
> giant.
>
> This has inspired me. I'm considering the possibility of adding to core
> GEF a TreeGraphModel which can attempt to build a graph based on a
> DefaultTreeModel containg DefaultMutableTreeNodes. I can see this may well
> create a shortcut for other GEF users.

Feel free to grab any of the Antelope code that might help you out. I'm
not real concerned about licensing issues, if you need a different license
(Antelope uses the Apache license), it's not a problem for me to change.
>
> It may be that I can then develop giant as a plugin to antelope.
>
> I'm also reconsidering the save/load of the diagram layout. I'm busy
> reading up on SVG right now. It would be neat if the saved document was
> reusable and could be viewed with other applications.

I agree, svg is a good way to go.
>
> How did you envisage the graph interacting with the rest of antelope? Was
> this diagram to be on a modal dialog or was it side by side with the ant
> script being updated dynamically?

I actually had 2 ideas in mind. First the gef graph would work like the
sax tree, so clicking on a target in the gef diagram would move the cursor
in the editor to appropriate line in the build file, and edits to the
build file would be reflected in the gef graph. Second, I've wanted to do
a graphical "builder" where the user could drag build file items (tasks,
targets, etc) from a list and drop them on a gef graph to create or edit a
build file. Dependencies would be created by dragging a line from one
target to another.
>
> Were you considering being able to add, remove and edit targets by
> manipulating the graph?

Yes.
>
> When does your SaxTree update? On each keypress in the editor or when the
> file is saved?

On file save. It can't be done on each keypress and most of the time, you
have invalid xml when you're editing.
>
> Regards
>
> Bob.
>



--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@ante​lope.tigris.org
For additional commands, e-mail: dev-help at antelope dot tigris dot org

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

Ant diagrams Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-06-12 03:48:09 PDT
     Re: Ant diagrams danson at germane-software dot com danson at germane-software dot com 2004-06-13 08:01:07 PDT
Messages per page: