有谁知道如何在 vis.js 中用图像绘制我自己的箭头?或者换个箭头?
这是我的边缘代码。
var edges = [
{from: 1, to: 2, color: { color: 'black'}, arrows: {to: true,}},
{from: 1, to: 3, color: { color: 'black'}, arrows: {to: true,}},
{from: 2, to: 4, color: { color: 'black'}, arrows: {to: true,}},
{from: 3, to: 5, color: { color: 'black'}, arrows: {to: true,}},
{from: 4, to: 6, color: { color: 'black'}, arrows: {to: true,}},
{from: 5, to: 6, color: { color: 'black'}, arrows: {to: true,}},
];
edges:{
arrows: 'to',
color:{inherit: false},
},