First question is:
I Have a problem that the nodes are arranged in one part of the view.
This happens after I call the
(layout is a GoLayoutLeyerdDigraph type)
call the fit-to-size method
and becaus the two trees are so far apart the nodes are very very small and I can’t read waht’s inside them.
This problem happens also when I’m using the
GoLayoutTree & GoLayoutForceDirected
types instead of GoLayoutLeyerdDigraph.
| O----O----O 0----0----0-----0-----0----0------0
| | | | | |
| O O O O O
Instead of moving one of the trees to the buttom it lays them all in one row.
Does the GoDiagram have any built-in option for filling the view area in the best way so that the nodes will spread on all the view and not be very far apart from eachother?
Second question is:
GoToolZooming lets the user to drag a pre-defined-fixed-ratio rectangle.
Is there a way or tool for having a zoomer that have a non-fixed-ratio
rectangle for selecting the zoom area?
Thanks in advance.