拓扑图示例demo

YaolongHan a8efa8b9cd debug 3 gadi atpakaļ
public 8166e1ede3 优化设备 3 gadi atpakaļ
src a8efa8b9cd debug 3 gadi atpakaļ
.browserslistrc b6b8e75b26 示例demo 4 gadi atpakaļ
.eslintrc.js b6b8e75b26 示例demo 4 gadi atpakaļ
.gitignore b6b8e75b26 示例demo 4 gadi atpakaļ
README.md b6b8e75b26 示例demo 4 gadi atpakaļ
babel.config.js b6b8e75b26 示例demo 4 gadi atpakaļ
package-lock.json a8efa8b9cd debug 3 gadi atpakaļ
package.json e23406a7d8 debug 4 gadi atpakaļ
tsconfig.json b6b8e75b26 示例demo 4 gadi atpakaļ
vue.config.js 88ae31e4d4 debug 3 gadi atpakaļ

README.md

draw_demo

拉取依赖

  1. 先删除 package.json 中关于拓扑图依赖包 以下部分 "@persagy-web/base": "2.2.1", "@persagy-web/big": "2.2.30", "@persagy-web/draw": "2.2.8", "@persagy-web/graph": "2.2.31",
  2. 设置 npm 指向
npm config set registry https://registry.npmjs.org/
  1. 下载其他依赖
npm i
  1. 设置 npm 指向到私服
npm config set registry http://dev.dp.sagacloud.cn:8082/repository/npm-saga/

5 下载图相关依赖包 将以下依赖粘贴入 package.json 然后下载

 "@persagy-web/base": "2.2.1",
    "@persagy-web/big": "2.2.30",
    "@persagy-web/draw": "2.2.8",
    "@persagy-web/graph": "2.2.31",
  1. 下载引擎依赖
npm i