# N-Ary tree

**URL:** https://forum.kirupa.com/t/n-ary-tree/101053
**Category:** Uncategorized
**Created:** [February 5, 2004, 12:23pm UTC](https://forum.kirupa.com/t/n-ary-tree/101053 "2004-02-05T12:23:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Cruiser](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@Cruiser](https://forum.kirupa.com/u/Cruiser)
#### Post date: [February 5, 2004, 12:23pm UTC](https://forum.kirupa.com/t/n-ary-tree/101053/1 "2004-02-05T12:23:05Z")

</div>

Hi board,

I need to display a n-ary tree. Does anybody have an implementation or logic to position the various nodes?

The tree can be arbritrarily huge.

Currently the nodes are library - movieClips and added to the \_root using attachMovieClip and the connectors/edges are done using lines. The tree is not being displayed as of yet its just adding to nodes at random positions and drawing a line between them. ☹

Help. Any other stratergy to display the tree could also be used but the nodes should be draggable more precisely a node can be dragged and dropped into another node.

Thanks.

Cruiser.
