Jump to content


GraphVis


2 replies to this topic

#1 SargonKingOfSlith

    Veteran

  • Members
  • PipPipPip
  • 202 posts
  • Location:Kansas City, MO

Posted 22 September 2006 - 08:44 AM

I just wanted to check with other graphvis users to see if I'm doing something wrong. I can't seem to get the map to print across multiple pages. Maybe the problem is with the software I use to view the jpg file, and not with graphvis. Does this look similar to what the rest of you are doing? Any suggestions?

I use neato. The neato command looks like this:
neato -Tjpg testmap.txt -o testmap.jpg

Here is my test input file. But the actual map that I want to print across multiple pages is much larger (naturally):

graph TestMap {
page="8.5,11"; /* Put graph attributes here */
ratio=auto;
fontsize=10;
overlap=false;
splines=true; /* may need to delete this if processing takes too long */
pagedir=TL;
node [shape=box]; /* List system names in this section */
System01 [label="System01\nS Dim Red"];
System02 [label="System02\nM Red\nCircumstellar Shell",peripheries=2];
System03 [label="System03\nK Orange"];
System04 [label="System04\nF Yellow-White"];
System05 [label="System05\nKD Black Dwarf"]; node [shape=ellipse]; /* List warp points in this section */
1111 [label="1111\nA 50"];
1112 [label="1112\nB 25"];
1113 [label="1113\nC 12"];
1114 [label="1114\nD 7"];
2221 [label="2221\nA 50",peripheries=2];
2222 [label="2222\nB 25"];
2223 [label="2223\nC 12"];
2224 [label="2224\nD 7",peripheries=2];
3331 [label="3331\nA 50"];
3332 [label="3332\nB 25"];
3333 [label="3333\nC 12"];
3334 [label="3334\nD 7"];
4441 [label="4441\nA 50"];
4442 [label="4442\nB 25"];
4443 [label="4443\nC 12"];
4444 [label="4444\nD 7"];
5551 [label="5551\nA 50"];
5552 [label="5552\nB 25"];
5553 [label="5553\nC 12"];
5554 [label="5554\nD 7"];
edge [weight=10]; /* Link warp points to their system in this section */
System01 -- 1111;
System01 -- 1112;
System01 -- 1113;
System01 -- 1114;
System02 -- 2221;
System02 -- 2222;
System02 -- 2223;
System02 -- 2224;
System03 -- 3331;
System03 -- 3332;
System03 -- 3333;
System03 -- 3334;
System04 -- 4441;
System04 -- 4442;
System04 -- 4443;
System04 -- 4444;
System05 -- 5551;
System05 -- 5552;
System05 -- 5553;
System05 -- 5554;edge [weight=1,dir=forward]; /* List warp jumps in this section */
1111 -- 2221;
2221 -- 1111;
2222 -- 3332;
3332 -- 2222;
3333 -- 4443;
4443 -- 3333;
4444 -- 5554;
5554 -- 4444;
5551 -- 1112;
1112 -- 5551;
1113 -- 3331 [style=dotted];
}
http://www.geocities.com/batkins23

We have discovered scientific proof of the Creator, and we have developed a reliable means of communication with it.

As Dragon commands, so shall we obey.

#2 cestvel

    Old Hand

  • Members
  • PipPipPipPip
  • 895 posts
  • Gender:Male
  • Location:Germany
  • Interests:Playing Games, Programming

Posted 22 September 2006 - 08:55 AM

Seems the problem is, that a jpeg is just a huge picture.

The page option seems to work if you are using postscript:

neato -Tps testmap.txt -o testmap.ps

Either send this to a postscript printer, or get yourself a postscript viewer like ghostview.

Or use a ps to pdf converter like pd2pdf.

Your testmap looks then like this: http://www.cestvel.de/dl/testmap.pdf

#3 Breoghan

    Old Hand

  • Members
  • PipPipPipPip
  • 584 posts
  • Gender:Male
  • Location:DFW TX
  • Interests:Living, not just existing.

Posted 22 September 2006 - 10:04 PM

As an inveterate map-maker, I'm curious. Is there a generic star map out there? The test version looks pretty much like the map I was setting up for myself, only using something other than MS Excel.
Breoghan

Life goes on, then one day it doesn't. The rest is just there to keep things interesting. (a Breoghanism)
The Meek Shall Inherit the Earth. The Rest of Us are going to the Stars. (dunno who said it, but I like his thinking!)
Quoth a foe, "Circumstances do not make a man, they reveal him" (Yep!)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users