nidi3 / graphviz-java

Use graphviz with pure java
Apache License 2.0
934 stars 107 forks source link

RankType not usable in .with #213

Closed JonasHaslauer closed 3 years ago

JonasHaslauer commented 3 years ago

It seems as if RankType isn't usable in immutable graphs (I don't know about mutable graphs). The usage as provided in #79 doesn't work. Back then there was Rank, now there is RankDir and RankType ( commit ) but there doesn't seem to be a possibility to add a RankType.

JonasHaslauer commented 3 years ago

Should have looked further in the commit.. New usage is graph().graphAttr().with(Rank.inSubgraph(SAME))