With Roassal after applying a layout, I would like to be able to
translate the graph such that the bottom left corner of the graph is
displayed. Is there someway to do that already?
I looked into ROFocusView, ROCanvas & ROCamera, but could not work it
out what was needed.
With the script below, the attached image is what I would like to see.
"-------------"
#(1 2 3 4 5 6 7 8 9) do:
[
:x |
rawView add: (ROElement spriteOn: x) + ROLabel.
].
rawView add: (ROEdge lineFrom: rawView elements seventh to: rawView
elements eighth).
rawView add: (ROEdge lineFrom: rawView elements seventh to: rawView
elements ninth).
(ROHorizontalTreeLayout new verticalGap: 40; horizontalGap:60) on:
rawView elements.
"HERE TRANSLATE CANVAS/CAMERA TO SHOW NODES 7, 8 & 9 IN THE BOTTOM LEFT
CORNER OF WINDOW PANE"
"-------------"
cheers -ben