vue.js如何生成横向拓扑图
发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,小编给大家分享一下vue.js如何生成横向拓扑图,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!1.前端代码
千家信息网最后更新 2025年12月03日vue.js如何生成横向拓扑图
小编给大家分享一下vue.js如何生成横向拓扑图,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!
1.前端代码
2.后端代码
def topo(request): data = { "nodes": [ {"id": "root", "x": 10, "y": 152, "height": 50, "width": 120, "text": "卡机健康度", "className": "info"}, {"id": "child1", "x": 200, "y": 30, "height": 50, "width": 120, "text": "进程CPU监控", "className": "info"}, {"id": "child2", "x": 200, "y": 90, "height": 50, "width": 120, "text": "网管网络故障监控", "className": "info"}, {"id": "child3", "x": 200, "y": 150, "height": 50, "width": 120, "text": "进程内在泄露监控", "className": "info"}, {"id": "child4", "x": 200, "y": 210, "height": 50, "width": 120, "text": "进程存活监控", "className": "info"}, {"id": "child5", "x": 200, "y": 270, "height": 50, "width": 120, "text": "用户内在使用监控", "className": "info"}, {"id": "child1_1", "x": 380, "y": 30, "height": 50, "width": 120, "text": "监控正常无触发自愈","className": "success"}, {"id": "child2_1", "x": 380, "y": 90, "height": 50, "width": 120, "text": "监控正常无触发自愈","className": "success"}, {"id": "child3_1", "x": 380, "y": 150, "height": 50, "width": 120, "text": "发现异常触发自愈","className": "danger"}, {"id": "child3_2", "x": 560, "y": 150, "height": 50, "width": 120, "text": "重启进程正常", "className": "success"}, {"id": "child4_1", "x": 380, "y": 210, "height": 50, "width": 120, "text": "发现异常触发自愈","className": "danger"}, {"id": "child4_2", "x": 560, "y": 210, "height": 50, "width": 120, "text": "重启进程正常","className": "success"}, {"id": "child5_1", "x": 380, "y": 270, "height": 50, "width": 120, "text": "发现异常触发自愈","className": "success"}, ], "edges": [ {"source": "root", "sDirection": 'right', "target": "child1", "tDirection": 'left', "edgesType": "info"}, {"source": "root", "sDirection": 'right', "target": "child2", "tDirection": 'left', "edgesType": "info"}, {"source": "root", "sDirection": 'right', "target": "child3", "tDirection": 'left', "edgesType": "info"}, {"source": "root", "sDirection": 'right', "target": "child4", "tDirection": 'left', "edgesType": "info"}, {"source": "root", "sDirection": 'right', "target": "child5", "tDirection": 'left', "edgesType": "info"}, {"source": "child1","sDirection":'right',"target":"child1_1","tDirection":'left',"edgesType": "success"}, {"source": "child2","sDirection": 'right', "target": "child2_1", "tDirection": 'left',"edgesType": "success"}, {"source": "child3","sDirection": 'right', "target": "child3_1", "tDirection": 'left',"edgesType": "danger"}, {"source": "child3_1","sDirection": 'right', "target": "child3_2", "tDirection": 'left',"edgesType": "success"}, {"source": "child4","sDirection": 'right', "target": "child4_1", "tDirection": 'left',"edgesType": "danger"}, {"source": "child4_1","sDirection": 'right', "target": "child4_2", "tDirection": 'left',"edgesType": "success"}, {"source": "child5","sDirection": 'right', "target": "child5_1", "tDirection": 'left',"edgesType": "success"} ] } return JsonResponse({"result": True, "data": data})显示效果
以上是"vue.js如何生成横向拓扑图"这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!
监控
进程
篇文章
拓扑
拓扑图
横向
生成
代码
内在
内容
数据
配置
健康
不怎么
前端
大部分
故障
效果
数据源
更多
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
graph数据库设计
根据网络安全法关键信息每年
刀片服务器连接管理平台
电梯服务器的故障
怎么管理千台服务器
数据库的可视化应用
网络安全教育周主题
渤海大学网络技术学校
临沂顺商网络技术
navicat构建数据库服务器
3月一日网络安全法
江苏省网络安全学会会员
上海辅助网络技术咨询报价
网络技术初识常见路由
数据库mdb
店数科技互联网产业
如何显示历史数据库
服务器硬盘有哪些参数
服务器本地连接用不了
光遇服务器正忙
linux系统怎么重启X服务器
在修真界建立服务器 小说
基于服务器网络有哪些
机械零件软件开发图片
.net 调用数据库
北京1u机架式服务器多少钱
数据库ado技术原理
河南搜客网络技术有限责任公司
hr产品软件开发公司
视觉系统用什么软件开发