Commit Graph
59 Commits
Author SHA1 Message Date
Christopher Möller af52bab2a5 refactor(fitView): use same fitView function for viewport helper and initial prop 2022-01-27 13:00:03 +01:00
Christopher Möller c2bae79916 feat(hooks): add useReactFlow hook, refactor types and properties 2022-01-19 18:31:49 +01:00
moklick 97b5327e1e refactor(controls): add titles for buttons 2022-01-18 15:49:18 +01:00
moklick 895e0bc524 refactor(store): use store.setState directly instead of actions 2021-12-11 05:22:41 +01:00
moklick 2e83af4638 Merge branch 'main' into v10 2021-12-04 01:01:25 +01:00
moklick 801d8f2ad4 fix(subflows): handle selections correctly 2021-11-26 19:35:31 +01:00
moklick d260abec75 refactor(actions): addSelectedElements => addSelectedNodes, addSelectedEdges 2021-11-26 15:18:27 +01:00
moklick fe9c1f02dc refactor(nodes-edges): rename isHidden to hidden 2021-11-18 13:06:14 +01:00
moklick 0974aa5732 refactor(nodes): only use node internals 2021-11-18 13:01:11 +01:00
moklick 8a2ac1e31e refactor(types): cleanup 2021-11-09 14:52:39 +01:00
moklick 996b1b51f5 refactor(store): rename nodeLookup to nodeInternals 2021-11-04 18:13:21 +01:00
moklick cc7debf8de refactor(utils): cleanup 2021-11-04 16:10:35 +01:00
moklick 72f1d8b4e3 refactor(stlyes): use react-flow__container helper 2021-11-04 15:13:14 +01:00
moklick a3a9249d17 fix(minimap): use abs pos 2021-11-04 14:14:11 +01:00
Émilien Leroux e4fd191192 fix(ControlButton): avoid submit form by click on default ControlButtons 2021-10-18 14:02:19 +02:00
moklick 1f41cc0d9a refactor(zustand): use shallow when needed 2021-10-13 16:19:46 +02:00
moklick ee0d29029a refactor(state): replace redux with zustand 2021-10-13 12:54:01 +02:00
moklick 32ee964044 refactor(elements): split into nodes and edges 2021-10-09 11:33:10 +02:00
moklick d480d25761 refactor(controls): use button element for buttons instead of divs closes #1228 2021-06-16 11:37:41 +02:00
moklick a54ca3e1e9 refactor(controls): dont render controls immediately closes #1051 2021-04-24 14:59:20 +02:00
moklick 2aee9605a9 style(background): slighter smaller dots by default 2021-04-17 20:50:44 +02:00
Coen ec57c12630 If window is undefined default to crispEdges 2021-04-15 16:26:20 +02:00
Coen 7781886dd7 Fixed minimap on Safari, Chrome, etc 2021-04-15 14:06:33 +02:00
moklick 9fa5347f00 fix(bg): dont cut off dots closes #1088 2021-04-14 10:11:36 +02:00
moklick 6cc2910477 fix(background): multiple backgrounds, separate pattern ids closes #1037 2021-03-26 22:43:19 +01:00
moklick dd9334f50a feat(controls): extendable controls via control button comp closes #1030 2021-03-26 22:10:49 +01:00
moklick 5a36bf68ac refactor(components): always import HTMLAttributes from react 2021-03-01 15:42:34 +01:00
moklick ba5286a105 refactor(elements): split edges and nodes 2021-02-11 18:45:05 +01:00
moklick 201a35dec2 Merge branch 'main' into refactor/redux 2021-02-11 17:52:54 +01:00
moklick 083991fe2a feat(minimap): add nodeStrokeWidth option closes #862 2021-02-08 11:49:52 +01:00
Eugene Samonenko 7dc2c69f2e feat(fitView): added fitViewParams prop to Control component 2021-02-07 10:13:16 +02:00
moklick 27a98d6a8f refactor(theming): split up styles 2021-01-20 14:01:22 +01:00
moklick e9a7ade236 refactor(store): use redux instead of easy-peasy 2021-01-19 13:58:24 +01:00
Ryan Welch e22efdab82 Use svg pattern for background instead of css tiling 2021-01-12 19:19:41 +00:00
moklick ee87ce64db style(minimap): transparent mask 2020-11-10 18:40:45 +01:00
moklick e1ae70e779 refactor(zoomPanHelper): export and simplify 2020-11-09 19:30:21 +01:00
Christopher Möller cf38388f14 refactor(zoom): move zoom methods into own hook, detatch from store 2020-11-09 17:23:59 +01:00
Rhys LloydandGitHub 4a5f0b5a76 Resolve #659
Set border-box explicitly so upstream frameworks don't upset the layout.
2020-11-05 08:08:56 +10:30
moklick 011e4c0aaf style(comps): dont use inline styles for minimap and edges #491 2020-10-06 18:00:08 +02:00
Christopher Möller ee7fcb5bb5 chore(typescript): export interfaces of additional components 2020-10-06 17:12:39 +02:00
moklick 284968ad54 style(flow): new default styles 2020-09-30 18:07:40 +02:00
Ivan S ab92766af5 feat(control): add optional callbacks 2020-09-22 14:17:34 -04:00
Robin Goupil 40bb947084 use classcat instead of template literal 2020-08-28 13:57:47 +02:00
Robin Goupil 60c39718f9 Allow to pass a string of FuncString for Minimap node className 2020-08-28 11:14:18 +02:00
moklick 30e811225a refactor(components): show displayName in react profiler correctly 2020-07-27 18:50:53 +02:00
moklick a436260a1c refactor(controls): use memo 2020-07-27 12:36:03 +02:00
moklick 8d0e8c63fb refactor(minimap): use memo 2020-07-27 12:35:40 +02:00
moklick cdfc311942 refactor(background): use background position for positioning dots and lines #356 2020-07-26 17:12:50 +02:00
moklick 0d2bdf7ce8 refactor(background): use repeating inline svg as bg pattern #356 2020-07-25 15:06:58 +02:00
moklick 4934cec6c9 style(flow): adjust default styles 2020-07-21 15:52:17 +02:00