//关系图谱
var container = document.getElementById('mapbox');
var baseUrl = '${ctxPath}/assets/common/images/';
var nodes_data; //初始化后network中节点数据
var edges_data; //初始化后network中连线数据
var network = null;
var oNodes = [
{
id: 1, label: '主机', image: baseUrl+'sever.png', shape: 'image'},
{
id: 2, label: '终端', image: baseUrl+'computer.png', shape: 'image'},
{
id: 3, label: '防火墙', image: baseUrl+'network.png', shape: 'image'},
{
id: 8, label: '终端', image: baseUrl+'computer.png', shape: 'image'},
{
id: 9, label: '终端', image: baseUrl+'computer.png', shape: 'image'},
{
id: 4, label: '交换机', image: baseUrl+'safe.png'</
使用visjs制作网络拓扑图
最新推荐文章于 2024-05-25 09:55:45 发布