@logicflow/core
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -6,2 +6,17 @@ # Change Log | ||
## [0.2.8](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.2.7...@logicflow/core@0.2.8) (2021-03-05) | ||
### Bug Fixes | ||
* **core:** Compatible with the data of the vue project ([4d94215](https://github.com/didi/LogicFlow/commit/4d9421522444915ddb5534836c93ccf0b199481d)) | ||
* **core:** Fix the problem of invalid property settings in addNode and createEdge function ([54eb760](https://github.com/didi/LogicFlow/commit/54eb760b8e2d56fcc10ae1171427b275441e31c3)) | ||
* **core:** Pick standardized data in the constructor function of nodeModel ([fc6f6d7](https://github.com/didi/LogicFlow/commit/fc6f6d74968425e272b805c76692469dad449f53)) | ||
* 🐛 lack the outline style of edge ([babeaac](https://github.com/didi/LogicFlow/commit/babeaac2b6a4e9b864df0e740deddc9a6a21dfb9)) | ||
* 🐛 the render err of diamond ([01c85bb](https://github.com/didi/LogicFlow/commit/01c85bbee091222c3772dbf6cc3de282d2f7d097)) | ||
## [0.2.7](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.2.6...@logicflow/core@0.2.7) (2021-03-01) | ||
@@ -8,0 +23,0 @@ |
{ | ||
"name": "@logicflow/core", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -57,3 +57,10 @@ "main": "dist/logic-flow.js", | ||
"husky": "^4.2.5", | ||
"ids": "^1.0.0", | ||
"less-loader": "^6.0.0", | ||
"lodash-es": "^4.17.15", | ||
"mobx": "^5.15.7", | ||
"mobx-react": "^6.3.0", | ||
"mobx-utils": "^5.6.1", | ||
"mousetrap": "^1.6.5", | ||
"preact": "^10.4.8", | ||
"prettier": "^2.2.1", | ||
@@ -66,2 +73,3 @@ "standard-version": "^9.0.0", | ||
"url-loader": "^4.1.0", | ||
"uuid": "^8.2.0", | ||
"webpack": "^4.43.0", | ||
@@ -83,12 +91,2 @@ "webpack-bundle-analyzer": "^3.7.0", | ||
}, | ||
"dependencies": { | ||
"ids": "^1.0.0", | ||
"lodash-es": "^4.17.15", | ||
"mobx": "^5.15.7", | ||
"mobx-react": "^6.3.0", | ||
"mobx-utils": "^5.6.1", | ||
"mousetrap": "^1.6.5", | ||
"preact": "^10.4.8", | ||
"uuid": "^8.2.0" | ||
}, | ||
"config": { | ||
@@ -99,3 +97,3 @@ "commitizen": { | ||
}, | ||
"gitHead": "5a85ab968c1256da471d08dfa58b757f8a8f1bab" | ||
"gitHead": "b0b4f83f1e03a6d91d7b7b0cd5dbc66db292c1f4" | ||
} |
@@ -15,3 +15,2 @@ export declare enum ElementState { | ||
NODE = "node", | ||
DIAMOND = "diamond-node", | ||
CIRCLE_NODE = "circle-node", | ||
@@ -22,2 +21,3 @@ POLYGON_NODE = "polygon-node", | ||
ELLIPSE_NODE = "ellipse-node", | ||
DIAMOND_NODE = "diamond-node", | ||
EDGE = "edge", | ||
@@ -24,0 +24,0 @@ LINE_EDGE = "line-edge", |
@@ -12,2 +12,3 @@ import { NodeData, Point, PointTuple } from '../../type'; | ||
get points(): PointTuple[]; | ||
get pointsPosition(): Point[]; | ||
get width(): number; | ||
@@ -14,0 +15,0 @@ get height(): number; |
@@ -166,2 +166,4 @@ import mobx from 'mobx'; | ||
selectedStroke?: string; | ||
outlineColor?: string; | ||
outlineStrokeDashArray?: string; | ||
}; | ||
@@ -168,0 +170,0 @@ export declare type LineStyle = EdgeStyle; |
import BaseNode from '../model/node/BaseNodeModel'; | ||
import { Point, Direction } from '../type'; | ||
import { Point, Direction, NodeConfig } from '../type'; | ||
export declare const getAnchors: (data: any) => Point[]; | ||
@@ -38,2 +38,3 @@ declare type NodeContaint = { | ||
export declare const getCrossPointWithPolyone: (point: Point, direction: Direction, node: BaseNode) => Point; | ||
export declare const pickNodeConfig: (data: any) => NodeConfig; | ||
export {}; |
Sorry, the diff of this file is too big to display
540295
0
88
3024
53
- Removedids@^1.0.0
- Removedlodash-es@^4.17.15
- Removedmobx@^5.15.7
- Removedmobx-react@^6.3.0
- Removedmobx-utils@^5.6.1
- Removedmousetrap@^1.6.5
- Removedpreact@^10.4.8
- Removeduuid@^8.2.0
- Removedids@1.0.5(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedlodash-es@4.17.21(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedmobx@5.15.7(transitive)
- Removedmobx-react@6.3.1(transitive)
- Removedmobx-react-lite@2.2.2(transitive)
- Removedmobx-utils@5.6.2(transitive)
- Removedmousetrap@1.6.5(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpreact@10.25.4(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removeduuid@8.3.2(transitive)