修改了readme
This commit is contained in:
parent
8ff56da8db
commit
1995261241
11
README.md
11
README.md
@ -1,2 +1,13 @@
|
|||||||
# StructV2
|
# StructV2
|
||||||
|
|
||||||
|
### 启动
|
||||||
|
```javascript
|
||||||
|
1. git clone
|
||||||
|
2. npm install
|
||||||
|
3. npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
### 源码里一些概念解释
|
||||||
|
1. `Model`里的`defineProps`方法是干什么的?
|
||||||
|
2. `ViewManager`里面的`shadowG6Instance`属性是干什么的?
|
||||||
|
3. `ModelConstructor`里面的`constructLinks`和`constructMarkers`具体做了什么工作?
|
||||||
|
|||||||
@ -107,10 +107,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cur.on('onLeak', () => { });
|
cur.on('onLeak', () => { });
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
dist/sv.js
vendored
2
dist/sv.js
vendored
File diff suppressed because one or more lines are too long
@ -10,6 +10,7 @@
|
|||||||
"webpack-cli": "^3.2.3"
|
"webpack-cli": "^3.2.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc && webpack"
|
"build": "tsc && webpack",
|
||||||
|
"dev": "webpack --w"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -86,8 +86,6 @@ export class ViewManager {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(removeModels);
|
|
||||||
|
|
||||||
removeModels.map(model => {
|
removeModels.map(model => {
|
||||||
Util.removeFromList(freedGroup.modelList, item => item.id === model.id);
|
Util.removeFromList(freedGroup.modelList, item => item.id === model.id);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user