Braks
545eb0ede7
fix: add intrinsicattributes to shims
...
* remove declaration from shims-vue.d.ts
2021-08-08 22:36:28 +02:00
Braks
2653c70334
update: rollup config
...
* add rollup.ts
* add esbuild register to devdeps
* add rollup plugin dts to devdeps
2021-08-08 21:36:40 +02:00
Braks
156b312336
update: button edge example to remove edge on click
2021-08-08 20:33:55 +02:00
Braks
74a2a3d8c3
feat: add edge with button example
2021-08-08 20:25:44 +02:00
Braks
6912993ebd
update(example): redirect to basic example as default
2021-08-08 19:33:44 +02:00
Braks
adb5ec544d
fix: Marker arrowheads not displayed
2021-08-08 19:28:45 +02:00
Braks
9e397e6817
fix(example): custom edges not displayed correctly
2021-08-08 19:28:45 +02:00
Braks
e7513b898c
fix(example): Custom node positions
2021-08-08 19:28:45 +02:00
Braks
2188c5d3d3
feat(example): Add custom edge example
...
update(example): fit view on custom node example
* node selection to use hooks
* dev script to use vue-tsc
2021-08-08 19:28:45 +02:00
Braks
6b9c608381
update: edge label bg true by default
2021-08-08 19:28:45 +02:00
Braks
05c111e5df
fix: default position for handle on output node
2021-08-08 19:28:45 +02:00
Braks
16e93af184
fix: edges not updating text
2021-08-08 19:28:45 +02:00
Braks
e2162c95a8
fix: return render function
2021-08-08 19:28:45 +02:00
Braks
6347cf97cb
fix: copy preloadedstate object for pinia to avoid using an existing state when re-creating store
2021-08-08 19:28:45 +02:00
Braks
3b5857febb
fix: typecast edges and nodes
...
* make GraphView props all required
refactor: renamed "NodesTypeType" to "NodeType" and "EdgesTypeType" to "EdgeType"
2021-08-08 19:28:45 +02:00
Braks
83216f8ece
fix: custom nodes not getting styled properly
...
* BezierEdge.tsx not drawing paths correctly
2021-08-08 19:28:45 +02:00
Braks
1d542aba65
refactor: back to jsx 🥇
2021-08-08 19:28:45 +02:00
Braks
a6f7678c0f
refactor: resize handler and zoom pan helper to watch until refs are resolved
2021-08-08 19:28:45 +02:00
Braks
25c92ecd84
update: Remove wrapEdge and wrapNode files
...
* implement Edge.tsx and Node.vue to wrap the components accordingly
refactor!: Removing callbacks from props in favor of events
chore: upgrade vue and vite vue plugin
2021-08-08 19:28:45 +02:00
Braks
ffd41fb679
refactor: Refactor some jsx files to vue files
...
feat: add global hooks to emulate sort of an event bus between components
* global hooks are not exposed to user but emit events upward from Revue-flow component, just more convenient
2021-08-08 19:28:45 +02:00
Braks
ef9647ceb4
chore: add vueuse/core to deps
...
feat: Implement onKeystrok of vueuse
* Implement useEventlistener
fix: node selection not properly selecting underlying nodes
2021-07-23 17:50:48 +02:00
Braks
7eb7cb1dc3
chore: update revue-draggable to latest version
...
fix: selection not draggable after creation selection (stop event propagation)
* naming collision with eventlistener and callback on draggable component (everything being called 2x)
2021-07-23 14:08:39 +02:00
Braks
86ead92839
fix: scale being incorrect when passed to draggable causing weirdly fast drags
...
chore: upgrade revue-draggable to latest on tag next
2021-07-20 20:39:42 +02:00
Braks
1a7f3da0b6
fix: types
2021-07-20 20:11:13 +02:00
Braks
b4fcab4004
fix: inject store instance components
...
chore: update revue-draggable to next tag
2021-07-20 20:01:10 +02:00
Braks
8cfbc89d23
chore: remove some logs
...
fix: inject store instance to handle component
2021-07-17 23:19:50 +02:00
Braks
7c7c31b46f
fix: no use of fragments for nodes as it results in warning from vue and we got enough of those as is
...
* some typing issues
2021-07-17 22:54:52 +02:00
Braks
e77797acc7
fix: remove DraggableEvent type from utils file (doesn't exist anymore)
2021-07-17 21:11:39 +02:00
Braks
51b120bd76
fix: typos in README.md
2021-07-17 21:09:45 +02:00
Braks
dfd9e96356
fix: node selection rect not dragging correctly
...
* issue comes from revue-draggable (has been fixed in 0.0.12) naming collision of the prop onDrag (callback fn) and the way JSX events are bound (onDrag instead of drag)
2021-07-17 21:07:24 +02:00
Braks
528f8f4420
refactor: remove passing props to reactive obj instead use props directly again (sort of breaks reactivity in some cases...)
...
fix: node selection not displaying correct rect after mouseup
2021-07-17 20:30:58 +02:00
Braks
61ab006e94
fix: node selection rect not properly rendering on key press and mousemove
...
* issue came from some reactivity problems; a component shouldn't return null, else it'll basically do nothing ever again if it's not completely remounted
* some type fixes, removed some any's
2021-07-17 19:34:32 +02:00
Braks
087eb52f1f
v0.0.37
2021-07-16 00:11:16 +02:00
Braks
9b78c0f5d2
feat: add drag n drop example
2021-07-15 23:33:17 +02:00
Braks
2f93c917e0
fix: user selection
...
deps: upgrade to latest revue-draggable
2021-07-15 23:32:58 +02:00
Braks
c7fda830a6
update: use store injection in UserSelection component
...
fix: keypress not displaying working properly
2021-07-14 23:48:19 +02:00
Braks
f5580b6d96
feat: Add revue-draggable
...
refactor: remove vue-draggable
* couple of prop default changes
2021-07-14 15:41:59 +02:00
Braks
6c9d88b09d
refactor: use injected store so we can use a distinct instance not a global one
2021-07-13 16:13:15 +02:00
Braks
8f727a4d93
update: base page to basic (no overview currently)
2021-07-11 18:06:12 +02:00
Braks
3f126f085e
update: README.md
2021-07-11 18:04:51 +02:00
Braks
d491c0196c
update: renaming stuff from react flow to revue flow
2021-07-11 18:03:46 +02:00
Braks
2afc7af871
update: README.md
...
feat: add license
2021-07-11 09:38:46 +02:00
Braks
ec45cd74e9
fix: create store instance for every revue flow instance
2021-07-11 09:32:51 +02:00
Braks
041fe114ef
v0.0.36
2021-07-10 23:51:23 +02:00
Braks
e4f57c79e8
feat: Create examples directory and add some examples
...
* Add svg plugins for vite & rollup
update: more bundle stuff
2021-07-10 23:51:04 +02:00
Braks
4d52af09fa
v0.0.35
2021-07-10 18:33:55 +02:00
Braks
881655d483
update: renaming stuff from react to "revue"
2021-07-10 18:33:38 +02:00
Braks
4661b685ad
update: README.md
2021-07-10 18:10:52 +02:00
Braks
fde7ca6653
update: README.md
2021-07-10 16:44:38 +02:00
Braks
c23844fb73
v0.0.34
2021-07-10 16:42:51 +02:00
Braks
d50d74598b
update: no vue-2 compatability (doesn't work with current build)
...
* README.md
2021-07-10 16:42:39 +02:00
Braks
150438d08f
update: no vue-2 compatability (doesn't work with current build)
...
* README.md
2021-07-10 16:40:50 +02:00
Braks
74fc5916aa
v0.0.33
2021-07-10 16:18:38 +02:00
Braks
fe739014b0
update: more bundle stuff
2021-07-10 16:17:35 +02:00
Braks
1c60829515
v0.0.32
2021-07-10 16:08:26 +02:00
Braks
e9db1cd641
update: more bundle stuff
2021-07-10 16:07:43 +02:00
Braks
82caefc2ef
v0.0.31
2021-07-10 16:00:24 +02:00
Braks
f2f263d833
update: more bundle stuff
2021-07-10 15:59:37 +02:00
Braks
0ca3012b3d
v0.0.30
2021-07-10 15:40:50 +02:00
Braks
adc22c6212
update: more bundle stuff
2021-07-10 15:40:23 +02:00
Braks
43eef4b17c
v0.0.29
2021-07-10 15:34:32 +02:00
Braks
e2deded187
update: more bundle stuff
2021-07-10 15:34:13 +02:00
Braks
6edaa3f4df
v0.0.28
2021-07-10 15:29:49 +02:00
Braks
4d2dfa14df
update: more bundle stuff
2021-07-10 15:29:31 +02:00
Braks
1b1a1b7f1a
v0.0.27
2021-07-10 14:48:38 +02:00
Braks
7d78ac61fc
update: even more bundle stuff
2021-07-10 14:48:09 +02:00
Braks
e395b2d478
v0.0.26
2021-07-10 14:31:07 +02:00
Braks
f685c7a20a
fix: some bundle stuff
2021-07-10 14:28:21 +02:00
Braks
e87d13afb5
v0.0.25
2021-07-10 14:10:01 +02:00
Braks
753f7070c7
feat: plugin config
...
update: package.json
2021-07-10 14:07:39 +02:00
Braks
f47036ef52
v0.0.24
2021-07-10 14:00:21 +02:00
Braks
ed64e466e7
update: rollup.config.js
2021-07-10 14:00:07 +02:00
Braks
61adf3b47d
update: deps
2021-07-10 13:59:21 +02:00
Braks
52660faf0e
v0.0.23
2021-07-10 13:55:02 +02:00
Braks
95cbf10dd0
update: more changes to bundle config...
2021-07-10 13:54:45 +02:00
Braks
988f627f01
v0.0.20
2021-07-10 12:38:22 +02:00
Braks
6f39ae6de8
update: more changes to bundle config...
2021-07-10 12:31:09 +02:00
Braks
ece8bc683d
v0.0.19
2021-07-10 12:25:59 +02:00
Braks
082d460e12
update: more changes to bundle config...
2021-07-10 12:21:45 +02:00
Braks
462c117d01
v0.0.18
2021-07-10 12:09:28 +02:00
Braks
a364c78c7c
update: more changes to bundle config...
2021-07-10 12:09:13 +02:00
Braks
1d01fc2a0d
v0.0.17
2021-07-10 11:51:54 +02:00
Braks
92caccfd6e
update: use vue-demi again to add compatability to vue2
...
* add vite.config.app.ts for demo generation
2021-07-10 11:51:12 +02:00
Braks
6a5496c60f
v0.0.16
2021-07-10 01:00:37 +02:00
Braks
6a6c5c9ee1
fix: proptype
2021-07-10 01:00:12 +02:00
Braks
3d2514a961
v0.0.15
2021-07-10 00:53:34 +02:00
Braks
d934782cb8
update: main
2021-07-10 00:53:12 +02:00
Braks
2c47089cd8
v0.0.14
2021-07-10 00:46:12 +02:00
Braks
59b6af384c
update: remove vue-demi
2021-07-10 00:45:46 +02:00
Braks
870661f813
v0.0.13
2021-07-10 00:22:35 +02:00
Braks
0c449c9274
update: deps
2021-07-10 00:22:21 +02:00
Braks
6113530f61
v0.0.12
2021-07-10 00:06:10 +02:00
Braks
303444f74d
fix: some prop type issues
...
update: rollup.config.js & vite.config.ts & package.json
2021-07-10 00:05:49 +02:00
Braks
0603a12ee0
update: README.md
2021-07-09 23:46:47 +02:00
Braks
678495229a
v0.0.11
2021-07-09 23:34:51 +02:00
Braks
b9b2615786
fix: add vue-demi to external deps in vite.config.ts
2021-07-09 23:34:32 +02:00
Braks
d3d8a773da
v0.0.10
2021-07-09 23:28:44 +02:00
Braks
f1ee5b61a2
fix: add vue-demi to external deps in vite.config.ts
2021-07-09 23:26:36 +02:00
Braks
42b6b18d72
v0.0.9
2021-07-09 23:00:32 +02:00
Braks
07721e9b75
fix: entry
2021-07-09 23:00:17 +02:00