Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-07-2010, 02:19 PM   #1
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 145

Rep: Reputation: 19
GraphViz - Nodes stack to the right


in order to visualize the mentor-student relations inside my fraternity, I'd like to create a genealogy graph from a Excel spreadsheet. This works way better than expected, but there is one final issue. To demonstrate, this is a smaller version of the graph:

It is ordered by year (to the very left), while members are placed in the appropriate timeslot and are connected to show said relations.

Unfortunately, as you can see, during a few years when the choosing of mentors was partly suspended due to historical reasons (WWII etc.), the members stack up to the right of the graph, widening it a lot.

Is there a way to specify that they are supposed to be distributed among the members that are part of the structure in order to achieve minimum width? I would be very grateful, as the graph is to be printed for our 145th anniversary, and the current layout just looks ugly.

Thanks for helping,

Old 11-16-2010, 05:09 AM   #2
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Arch
Posts: 43

Rep: Reputation: 18
One option (which I haven't tried, so this is a guess) might be to encapsulate the offending chunk as a subgraph and specify separate properties for that subgraph.

A more tedious alternative is to run dot without arguments to get dot-type output, in which each node has a pos="X,Y" attribute added.
Then use your favourite editor to adjust the X,Y values of the offending nodes, and re-run dot using -n2 to stop it using a layout engine to
move the nodes around.

There must be other ways too?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
single 8K process stack vs 4K process stack and a seperate 4K interrupt stack charvak Linux - Kernel 1 03-17-2010 07:58 PM
Graphviz compile error, please help! Domine Slackware 6 03-15-2010 09:40 PM
external library of graphviz needed to install ????? wahaha Linux - Networking 0 08-13-2006 12:42 AM
Create relationship diagrams with Graphviz LinuxLala Linux - News 0 11-22-2005 06:01 AM
how to use graphviz abd_bela Debian 2 02-11-2004 04:41 AM

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration