# 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/ ``` 3. 下载其他依赖 ``` npm i ``` 4. 设置 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", ``` 6. 下载引擎依赖 ``` npm i ```