Commit Graph
165 Commits
Author SHA1 Message Date
Braks 3bbe92a4ea feat(docs): replace vitepress with vuepress
* vitepress too limited
2022-04-04 21:42:48 +02:00
Braks d6b41afefd update(examples): Add button edge example 2022-04-04 21:42:48 +02:00
Braks ade61ca2e1 update(types): Remove unnecessary type exports
* rename StringFunc for better understanding
2022-04-04 21:42:48 +02:00
Braks 55588c3988 chore: remove default data value from default nodes 2022-04-04 21:42:48 +02:00
Braks d913df6187 update(examples): import order 2022-04-04 21:42:48 +02:00
Braks 94e5bda77e update(examples): Update stress example syntax 2022-04-04 21:42:48 +02:00
Braks e71b9d5e48 feat(docs): Add vitepress for docs & docs workspace 2022-04-04 21:42:48 +02:00
Braks b47197f498 chore(dev-deps): Add vite plugins to examples 2022-04-04 21:42:48 +02:00
Braks 8362d7fd7a feat(examples): Add path alias for local dev 2022-04-04 21:42:48 +02:00
Braks c1594b0071 update(examples): move examples into src dir 2022-04-04 21:42:48 +02:00
Braks 9539d7f263 chore: lint ts def files after build 2022-04-04 21:42:48 +02:00
Braks 1762861ab0 chore: update package.json files 2022-04-04 21:42:48 +02:00
Braks cd817b7f53 feat: implement workspaces 2022-04-04 21:42:48 +02:00
Braks 88a8ecbdeb feat(examples): Add ResizableNode to Basic example 2022-04-04 21:42:48 +02:00
Braks 0a079afcee refactor(nodes)!: Change children API to parentNode API
* instead of passing a children arr, pass a parentNode id
* allows for easier adding of new child nodes in options api
2022-04-04 21:42:48 +02:00
Braks 3acb43d000 fix(edges): use correct functions for center/path in simple bezier edge 2022-04-04 21:42:48 +02:00
Braks afdf0b1d99 chore: remove logs 2022-04-04 21:42:48 +02:00
Braks 56f7e3b0c2 feat: Add SimpleBezierEdge
* Implement base edge
2022-04-04 21:42:48 +02:00
Braks 4644af5736 fix(nodes): expand nodes correctly when prop enabled 2022-04-04 21:42:48 +02:00
Braks 9a8caf444c feat(store): Enable using a parentNode / parentNodeId to add child nodes 2022-03-23 17:43:27 +01:00
Braks 6a2c1b00d7 feat: Enable passing components as node/edge-types
* Instead of using slots (re)-enable passing components for node/edge-types
2022-03-23 15:49:00 +01:00
Braks 65d079db20 feat: use a storage class to map flow instances
* improves cleanup of instances
2022-03-23 06:47:57 +01:00
Braks 2fa7e22b5f feat(background): Allow background height/width to be set
* allow for bgColor to be set
* allow for no pattern to be used
2022-03-14 14:10:38 +01:00
Braks d948f5eef4 feat(zoom): Allow zoomOnScroll & panOnScroll to be used without an activation key
* activation key is undefined by default, if undefined key is always "pressed"
2022-03-14 14:10:38 +01:00
Braks 9317f786b3 update(examples): Use Shift for panOnScroll on Windows OS 2022-03-12 18:38:30 +01:00
Braks afaa038584 fix(zoom): prevent zoom when zoomOnScroll is disabled 2022-03-12 18:28:35 +01:00
bcakmakoglu 158f81d5e5 update(examples): unidirectional example
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-03-08 11:06:45 +01:00
bcakmakoglu 6e5c58fcae refactor: Remove link from deps
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-22 10:35:38 +01:00
bcakmakoglu b51c26f6bb update: Add tsconfig.build.json
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu b7abb31c24 chore: couple minor fixes
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu c5b39d4588 feat: try to dispose states on unmount
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu 54e8301ddb refactor: use dist pkg for examples
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu 8260eabc58 fix: typings for UseVueFlow
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu 78c58688a2 feat(examples): Add OptionsAPI example
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu f44784b1d0 chore: fix examples
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
Braks 124338b8d4 update(examples): correct examples
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks 445718d6f4 update(examples): correct examples
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks 69dc45c3be update(examples): fix examples
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks 5139b0786b update(examples): correct examples
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks ca2eca4265 refactor(store): add getters for selected nodes/edges
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks a983858acf update(examples): use computedPosition in GroupNode.vue
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks 774cb2e644 feat(flow)!: Remove node/edge-types prop
* infer node/edge types from types used in elements

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks d730869443 update(examples): adapt examples
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks c96f62f622 refactor(flow)!: properly nest components
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks 0450ba2eae feat(store): flatten child map of nodes
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks 076ff4ce54 refactor(nodes): use plugin to import prop interface
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks b80341467b refactor(types)!: Remove elements and replace with nodes and edges
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks f28e10b05a refactor(types): Remove internal __vf field
* fields are merged into the GraphNode / Node interface
* Remove passing props from VueFlow container, use injected state

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks 3f0b0dbd70 feat(nodes): nested boundaries
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
Braks f00f34d84b refactor(types)!: Remove ElementId type
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00