Can anybody tell me how much control I have over the positioning of the (child) nodes? For instance, is it possible to construct a (META)tree that does not have its childnodes around a parentnode, but only below the parentnode, thus creating a kind of `family tree` / organisation chart.
Thanks in advance,
Sander
> Can anybody tell me how much control I have over the positioning of the (child) nodes? For instance, is it possible to construct a (META)tree that does not have its childnodes around a parentnode, but only below the parentnode, thus creating a kind of `family tree` / organisation chart.
>
> Thanks in advance,
> Sander
>
Dear Sander,
Thank you for writing us.
Yes, this is possible in the registered version (sources) of the MetaTree
component.
MetaTree.pas, set:
procedure TMetaTree.SetCoords(Node: TMTNode; Target: TMTNode = nil);
procedure SetSector(Node: TMTNode);
// some strings were skipped
// !!!!!!!!!!!!
Node.FStartAngle := 180; //90;
Node.FEndAngle := 360; //450;
Now MetaTree will be placed below the root node.
Do you think that this feature may be useful for developers?
We can make it public in the next version of MetaTree.
Thanks,
Sincerely,
Alex Filatkin
MP Staff