需要创建二叉树结构

Need to create Binary tree structure

我想在我的 Angular-2 项目中创建一个自上而下的二进制结构(如图所示)。我应该使用哪个库来呈现这样的结构。它必须支持-拖放功能以增加树结构。 top-down tree structure image here

你可以使用 angular-ui-tree npm

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

您可以在下面获得唤醒示例 link Angular Tree component