Page 1 of 1

Dot graphviz stuff

Posted: Sun Dec 08, 2024 12:49 pm
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:

Re: Dot graphviz stuff

Posted: Mon Dec 09, 2024 8:51 am
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