nodes |
Array.<Object>
|
|
|
indicate a set of nodes,the elements is a string. |
edges |
Array.<Object>
|
|
|
indicate a set of edges,the elements is a tuple with two index,eg: [[0,1]] means an edge connect 0-th node and 1-th node |
edgesValue |
Object
|
<optional>
|
empty
|
can be empty,to change the curve's width to show more infomation |
CurveColor |
DVColor
|
<optional>
|
DVgetRandomColor(1)[0]
|
the Curve's Color |
NodeColor |
DVColor
|
<optional>
|
new DVColor()
|
the Node's Color |
style |
string
|
<optional>
|
'bubble'
|
the node element style,'bubble' or 'text' |
bubble |
boolean
|
<optional>
|
true
|
whether add a bubble to each node |
bubbleRadius |
int
|
<optional>
|
2
|
the radius of the added bubble |
lineWidth |
double
|
<optional>
|
2
|
the lineWidth of curve,when the edgesValue is not empty,lineWidth indicate the maxium Curve Width. |