First of all, is it possible that there is an error in the method squareBox(Graph graph) of class royere.cwi.layout.Layout? Namely, I get a NullPointerException when using the barycenter layout.
If I put the line
NodeSize metanodeSize = container.getOpenMetanodeSize();
inside the if ( container != null )
I don't get that exception.
But then another question. Does somebody know whether the barycenter layout works as supposed to be. Because I seem to get strange layouts, that don't correspons to what I would expect.
Thanks in advance,
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
First of all, is it possible that there is an error in the method squareBox(Graph graph) of class royere.cwi.layout.Layout? Namely, I get a NullPointerException when using the barycenter layout.
If I put the line
NodeSize metanodeSize = container.getOpenMetanodeSize();
inside the if ( container != null )
I don't get that exception.
But then another question. Does somebody know whether the barycenter layout works as supposed to be. Because I seem to get strange layouts, that don't correspons to what I would expect.
Thanks in advance,
Michael