Menu

#137 borderWidth in Layout should be a variable

Possible Bug
open
nobody
5
2009-11-14
2009-11-14
Brunni
No

There is a problem when using big Vertex-Icons because they dont fit in the Window.

In FRLayout. java line 201 the borderwidth is calculated by
double borderWidth = getSize().getWidth() / 50.0;

This may work for some kind of icons. But for my Vertex-Icons with 64x64 it didn't work. The nodes werde outside of the visible area.
I had to manually set borderwidth to 70.

Proposal:
Introduce a function like setBorderWidth in all Layouts. Or improve Calculation of borderwidth.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB