Dot graphviz stuff

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
Boc451
Harmless
Harmless
Posts: 1
Joined: Wed Nov 27, 2024 9:41 pm
Contact:

Dot graphviz stuff

Post by Boc451 »

Been trying to figure out the big maps, all 255 nodes in their x,y locations. Can not figure which attribute(s) need tweaks to get anything like the ...GalaxyO[0-7] vector maps. Niiiice. 8)

Using ... -Kneato ... or maybe ... model=mds ... getting slightly legible maps with just a tiny subset eg. 0,19,71,75 nodes but dot wants to render what Dot Matrix plots. :mrgreen:
User avatar
hiran
Theorethicist
Posts: 2415
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Dot graphviz stuff

Post by hiran »

Vector maps with Dot?

AFAIK you specify a graph (which means nodes and edges), and graphviz will automatically layout the graph in a (meaningful) way.
But if you already know x and y coordinates you do not need that layout algorithm at all.

In that case I'd switch to Scalable Vector Graphics which meanwhile can be rendered directly by any up to date browser. If you want to learn how to write SVG, take a look at e.g. this tutorial: https://www.w3schools.com/graphics/svg_intro.asp
Sunshine - Moonlight - Good Times - Oolite
Post Reply