Frage

So I have some encoded directed graphs in the form:

(1,2,3,4),((1,2),(2,1),(3,4))

So just basic list of nodes and then a list of edges. Is there a program that will let me pipe in a string like that and draw it, so I don't have to draw the graph manually by hand ?

War es hilfreich?

Lösung

Grapviz.

try:

digraph G {
    A->B
    A->C
    A->D
    D->B
}

for example.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top