##无向图
#效果
var option={
name:['v0','v1','v2','v3','v4','v5','v6'],
data:[ [0,1,1,1,1,0,1],
[1,0,0,1,0,0,1],
[1,0,0,0,1,0,0],
[1,1,0,0,1,1,0],
[1,0,1,1,0,1,0],
[0,0,0,1,1,0,1],
[1,1,0,0,0,1,0]]
};
##无向图
var option={
name:['v0','v1','v2','v3','v4','v5','v6'],
data:[ [0,1,1,0,0,1,0],
[0,0,0,1,0,0,0],
[1,0,0,0,0,0,1],
[0,0,0,0,0,1,0],
[1,0,0,0,0,0,1],
[0,0,0,0,1,0,0],
[1,0,1,0,0,0,0]]
};