tags:

views:

64

answers:

1

Ḧi,

I'd like to draw a graph using the dot language that looks like a star ( a central node, wih all the other nodes with one link to this other node).

I've been googling around without finding much. Do you have a basic example ?

thanks

+1  A: 

Try twopi as the layouter and select radial layout.

Aaron Digulla
just to be sure, radial is by default when you use twopi ? right ?
LB
I'm not sure; I think so but if it isn't, just select the option.
Aaron Digulla
the prpblem is that if i've too many elements at the second, there will be an overlap. I would like something like http://www.graphviz.org/Gallery/undirected/softmaint.html
LB
Just download the file (click on the image to see the source) and run it through the graphviz commands. The image was created with dot using `digraph` as the graph type.
Aaron Digulla
I had to fight with the dot file, but I'm now satisfied by the rendering. Thanks
LB