vue.js如何生成横向拓扑图
发表于:2025-02-04 作者:千家信息网编辑
千家信息网最后更新 2025年02月04日,小编给大家分享一下vue.js如何生成横向拓扑图,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!1.前端代码
千家信息网最后更新 2025年02月04日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安全错误
数据库的锁怎样保障安全
百威网络技术有限公司长沙
发生网络安全事件应该怎么办
消防数据库
系统 与数据库不匹配
网络技术可以考取哪些资格证
华为5g网络技术人员
使用数据库需要建立服务器吗
帝国神话服务器联机
世界网络安全大赛ig
警务室网络安全工作档案
传世怪物数据库英文意思
被称为紫蜂的网络技术
大专生网络技术毕业论文范文
四级报名官网连不上服务器
海关数据库发布途径
昌图租房软件开发
兴唐通信网络安全架构师待遇
软件开发项目经理资格
我的世界超纯净生存服务器
大数据库实施课程
德宏网络安全宣传
网络安全总体部
网络安全专家小组组长
网络技术操作图片
昭通互联网科技贵不贵
玖玖盾网络安全系统
北京直销软件开发哪家专业
电脑服务器没有及时响应怎么办
电脑服务器从哪看
cf服务器名字