|[QUERY] Superior Routing + Placement [message #232260]
||Tue, 27 March 2007 08:53
Originally posted by: nerd.jumbo.gmail.com|
This one is a little similar to some posted before but their replies were
not very convincing to me.
With GEF/Draw2D, I'm trying to make something like a schematic viewer for
circuits having lots of vertexes and connections in it. The Hierarchy in
the code is something like:
I want my application to do two things:
1.) Place all the vertexes by some way of AutoLayout algorithm.
2.) Route all the connections using a mixture of ManhattanRouting +
For the First, I tried FlowLayout, BorderLayout and several others
existing in the GEF-3.2.2. But none of them works the way I want them to.
Using XYLayout works but to calculate co-ordinates for 100+ vertexes is
out of context where my requirement is concerned. There is so disparity in
every other circuit that it is virtually impossible to build something
For the Second, I tried using the RectilinearRouter submitted by "Peter
Armstrong". It works well to avoid the source and target but not very well
to bypass the vertexes in between. Also there is no way (or I don't know
about one!!) to instruct the router that certain vertexes should be
treated as obstacles and certain should not.
I read a lot of posts and open/closed bugzilla items before writing this
post. It seems that something like this is being talked about. But I'm not
sure what is the state of that and when (or not) it will be implemented
into the future versions of GEF/Draw2D.
Please guide me regarding the same.
Thanks to all of you for writing such a great library and contributing
your time and efforts into it.
Powered by FUDForum
. Page generated in 0.02012 seconds