Moving the initial position of the root node

47 views
Skip to first unread message

Paul Belt

unread,
Nov 12, 2009, 11:33:44 AM11/12/09
to JavaScript Information Visualization Toolkit
On 11 Nov 09 0839, Nico Garcia Belmonte wrote:
> Hi,
>
> by setting an offsetX and offsetY as options to the onClick method. Remember to put these options everytime the onClick method is called.
>
> Check out the example at the doc:
>
> http://thejit.org/docs/files/Spacetree-js.html#ST.onClick
>
>> On Wed, Nov 11, 2009 at 2:35 PM, Paul Belt wrote:
>>
>> The initial X-Y position of the root node seems to be in the center of the canvas (using orientation: top).
>> This creates a lot of wasted / white space above it. How do I move the entire tree to the top of the canvas?
Reply all
Reply to author
Forward
0 new messages