Search code examples
angularchartsangular-nvd3

Need to create Binary tree structure


I want to create a top-down binary structure (as shown in the image) in my Angular-2 project. Which library should I be using for rendering such a structure. It must support - drag and drop feature to increase the tree structure. top-down tree structure image here


Solution

  • you can use angular-ui-tree npm

    https://github.com/angular-ui-tree/angular-ui-tree

    and you can get woking example in below link Angular Tree component