更新时间:2021-08-26 01:06:08
js引入:
<script src="https://www.jq22.com/jquery/echarts-4.2.1.min.js"></script> <script src="../expand/echarts/china.js" charset="utf-8"></script> <script src="../expand/echarts/shine.js" charset="utf-8"></script> <script src="../js/common.js" charset="utf-8"></script> <script src="../js/json.js" charset="utf-8"></script> <script src="../js/index.js" charset="utf-8"></script>
-----echarts主题
-----随机生成时间,创建节点id
-----左侧设备节点添加到画布
2.主要使用echarts框架组件:
1、type:graph -----关系图节点
2、type:lines ----- 关系节点连接线及特效