修改了readme

This commit is contained in:
黎智洲 2021-08-08 22:35:44 +08:00
parent 8ff56da8db
commit 1995261241
5 changed files with 14 additions and 8 deletions

View File

@ -1,2 +1,13 @@
# StructV2
### 启动
```javascript
1. git clone
2. npm install
3. npm run dev
```
### 源码里一些概念解释
1. `Model`里的`defineProps`方法是干什么的?
2. `ViewManager`里面的`shadowG6Instance`属性是干什么的?
3. `ModelConstructor`里面的`constructLinks`和`constructMarkers`具体做了什么工作?

View File

@ -107,10 +107,6 @@
cur.on('onLeak', () => { });

2
dist/sv.js vendored

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,7 @@
"webpack-cli": "^3.2.3"
},
"scripts": {
"build": "tsc && webpack"
"build": "tsc && webpack",
"dev": "webpack --w"
}
}

View File

@ -86,8 +86,6 @@ export class ViewManager {
);
});
console.log(removeModels);
removeModels.map(model => {
Util.removeFromList(freedGroup.modelList, item => item.id === model.id);
});