Open essayZW opened 3 years ago
MutableGraph containerGraph = Factory.mutGraph () .setDirected ( true ) .graphAttrs ().add ( RankDir.LEFT_TO_RIGHT );
Then i get an error.
Cannot resolve method 'add(guru.nidi.graphviz.attribute.Rank.RankDir)'
What should I do
Hi @essayZW,
For me, the following works:
g.graphAttrs.add("rankdir", "LR")
Hi @frademacher Thanks for your help, I solved this problem.
Then i get an error.
What should I do