发布于 2018-10-03 12:31:21
是的,您可以做that.do,不添加node.you中的边框选项,可以在afterDrawing事件中添加循环边框。
network.on("afterDrawing", function (ctx) {
var imageSize= 21;
var nodeId = 1;
var nodePosition = network.getPositions([nodeId]);
ctx.strokeStyle = '#006bb3';
ctx.lineWidth = 4;
ctx.circle(nodePosition[nodeId].x, nodePosition[nodeId].y, imageSize+5);
ctx.stroke();
})https://stackoverflow.com/questions/49572704
复制相似问题