Migrating from Version 2.x to Version 3.x

Version 2 of gsn2x tried to fully automate the layout of diagrams. Version 3 intentionally changed this approach.

To get similar or even better renderings, please follow the guidelines below.

Replace level with rankIncrement

level was deprecated. Instead, increment the rank of the elements that should be pushed further down.

Please see Layout for more information on how to use rankIncrement.

Use strict lexicographical sorting and horizontal reordering to optimize the graph

If you find situations that are not rendered correctly by default, please check if your IDs are sensibly defined (i.e. lexicographically increasing). Use horizontalIndex as described here to fix e.g., crossing edges.