有没有办法在图中拖动许多节点?

Is there a way to drag many nodes inside the graph?

您好,我目前正在使用 sigma.plugins.dragNodes 单独拖动节点。有没有人用它在单个对象中拖动多个节点传递给它?

我刚在 github 上找到这个项目:

https://github.com/jacomyal/sigma.js/issues/516

以某种方式更改了插件,以在图形中一次接受多个节点的移动。虽然我还没有设法 运行 它,但一旦我做到了,我会 post 一些演示。干杯

您可以使用此版本的拖动节点插件,它可以处理多个节点的选择。此插件已获得 MIT 许可。

https://github.com/Linkurious/linkurious.js/tree/linkurious-version/plugins/sigma.plugins.dragNodes

PS:我目前在 Linkurious 工作 ;)