0
我搜索在本例中使用VisJS网络图与边框选项相似图片的选项所有节点:图片与边界不是在Vis.js
http://visjs.org/examples/network/nodeStyles/imagesWithBorders.html
但并不是所有图像。
我尝试添加的设置,应该让边境这样
if(some expression){
aService.shapeProperties = {useBorderWithImage:true};
aService.nodes = {
borderWidth:100,
size:50,
color: {
border: '#ff0000',
background: '#ff0000'
},
shapeProperties: {
useBorderWithImage:true
}
};
}
的节点,但这个被忽略。
我该怎么做对不对?