我是靠谱客的博主 英勇面包,最近开发中收集的这篇文章主要介绍java代码识别节点拓扑图_vue 集成 vis-network 实现网络拓扑图,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

let DIR = "/jtopo/";

let nodes = [

{ id: 1, shape: "circularImage", image: DIR + "server.png" },

{ id: 2, shape: "circularImage", image: DIR + "server.png" },

{ id: 3, shape: "circularImage", image: DIR + "server.png" },

{

id: 4,

shape: "circularImage",

image: DIR + "gather.png",

label: "pictures by this guy!"

},

{ id: 5, shape: "circularImage", image: DIR + "wanjet.png" },

{ id: 6, shape: "circularImage", image: DIR + "center.png" },

{ id: 7, shape: "circularImage", image: DIR + "cloud.png" },

{ id: 8, shape: "circularImage", image: DIR + "center.png" },

{ id: 9, shape: "circularImage", image: DIR + "wanjet.png" },

{ id: 10, shape: "circularImage", image: DIR + "gather.png" }

// { id: 11, shape: "circularImage", image: DIR + "11.png" },

// { id: 12, shape: "circularImage", image: DIR + "12.png" },

// { id: 13, shape: "circularImage", image: DIR + "13.png" },

// { id: 14, shape: "circularImage", image: DIR + "14.png" },

// {

// id: 15,

// shape: "circularImage",

// image: DIR + "missing.png",

// brokenImage: DIR + "missingBrokenImage.png",

// label: "when imagesnfailnto load"

// },

// {

// id: 16,

// shape: "circularImage",

// image: DIR + "anotherMissing.png",

// brokenImage: DIR + "9.png",

// label: "fallback image in action"

// }

];

let edges = [

{ from: 1, to: 4 },

{ from: 2, to: 4 },

{ from: 3, to: 4 },

{ from: 4, to: 5 },

{ from: 5, to: 6 },

{ from: 6, to: 7 },

{ from: 8, to: 7 },

{ from: 9, to: 8 },

{ from: 10, to: 9 }

// { from: 8, to: 10 },

// { from: 10, to: 11 },

// { from: 11, to: 12 },

// { from: 12, to: 13 },

// { from: 13, to: 14 },

// { from: 9, to: 16 }

];

最后

以上就是英勇面包为你收集整理的java代码识别节点拓扑图_vue 集成 vis-network 实现网络拓扑图的全部内容,希望文章能够帮你解决java代码识别节点拓扑图_vue 集成 vis-network 实现网络拓扑图所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(39)

评论列表共有 0 条评论

立即
投稿
返回
顶部