[英]how to make simple directed graph using d3
I am trying to create a simple force layout directed-edge graph base on this D3.js example " http://bl.ocks.org/1153292 ". 我试图基于这个D3.js示例“ http://bl.ocks.org/1153292 ”创建一个简单的力布局有向边图。
There is line where it says .data(["suit", "licensing", "resolved"])
but I have no clue what that means. 有一行说它.data(["suit", "licensing", "resolved"])
但我不知道这意味着什么。 I have to admit I don't fully understand the details of it. 我不得不承认我并不完全了解它的细节。
I have looked at a few so questions but none was helpful. 我看了几个问题,但没有一个是有帮助的。
I would really appreciate it if 如果,我真的很感激
sb can tell what ".data(["suit", "licensing", "resolved"])" means. 某人可以说出“.data”([“诉讼”,“许可”,“解决”])“的意思。
How are arrows added to the end of the edges. 如何将箭头添加到边缘的末尾。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.