用 Angular 创建图表 5

Create Graph with Angular 5

我正在尝试使用 Angular 5 创建图形编辑器。我的目标是使用节点和边的 drag/drop 功能制作 DAG 编辑器,然后我可以在其中设置一些属性节点...

你知道我可以用 Angular 5 渲染简单图形的库吗?

目前只找到这个库

https://github.com/swimlane/ngx-graph

nut 它的文档真的很差...

谢谢!

我目前正在寻找与您类似的解决方案,这个似乎是我迄今为止找到的最好的解决方案:https://github.com/Ni55aN/d3-node-editor。有专门针对 Angular.

的示例

也有付费解决方案,例如 GoJS,这很了不起,但也很昂贵:https://www.nwoods.com/products/gojs/index.html。他们还有 Angular 实现。