174ec45f8f
initial work on group nodes support
2018-03-21 16:40:25 +02:00
3ea6375011
rather import from storm-react-diagrams to further test the library
2018-03-13 22:46:06 +02:00
1debc9c891
clean refactor / consistent TSLint / Prettier
2018-03-02 16:31:50 +01:00
259782ecfa
upgrade all the widgets to use bem in a smart way
2018-02-25 11:21:22 +02:00
e2285cec16
reformat code
2018-02-24 18:44:28 +02:00
4d3ad389df
more fixes to testing framework
2018-02-24 13:02:17 +02:00
9b3ad7a47f
improve testing frameworks
2018-02-24 12:16:47 +02:00
942a0c3894
some demos were using the wrong ports
2018-02-23 19:34:47 +02:00
6980fa091e
super advanced custom link demo
2018-02-23 19:29:51 +02:00
a318b71ef1
fix more bugs
2018-02-23 18:58:34 +02:00
6dea182ab8
fix custom links
2018-02-23 18:27:03 +02:00
20675cbf38
prove that multiple labels work
2018-02-23 18:16:43 +02:00
1b4bbf6493
fix up the labels
2018-02-23 18:10:08 +02:00
317eabb42a
add labels to simple example and enable offsets
2018-02-23 17:59:14 +02:00
32fd0000d2
labels work again :D
2018-02-23 17:51:15 +02:00
76fb35f6d1
Fixed some demos, code cleanup
2018-02-18 20:24:52 +02:00
85f97a63fa
Merge branch 'smart-routing' of https://github.com/klauspaiva/react-diagrams into links_refactor
2018-02-18 20:13:10 +02:00
2fdf944e0f
Smart routing: flattening changes
2018-02-12 16:58:13 +11:00
de40b3841d
upgrade node modules, fix stupid mistake lol
2018-02-11 20:28:18 +02:00
372af4341d
Merge branch 'flow-diagram-changes' of https://github.com/yngndrw/react-diagrams into links_refactor
2018-02-11 19:17:14 +02:00
16523dac85
more refactor, this ones a big one
2018-02-11 19:03:08 +02:00
b7698ca53a
Added a new demo showing off flow diagram usage:
...
- PortModel can now decide whether or not a link should be allowed (E.g. only allowing outputs to connect to inputs)
- PortModel now has an optional maximum number of links - When set to 1 an existing link is returned by createLinkModel and when set to another finite number null will be returned when the maximum is reached
- LinkModel has been updated to support the resetting of existing links (I.e. removing ports and removing mid-points)
- DiagramWidget has been updated to handle null being returned by createLinkModel as well as an existing link (this also supports an existing link where the link's target port should now be the source port)
- DiagramWidget has been updated to respect the PortModel's new canLinkToPort method
- DiagramWidget has been updated to disallow duplicate links
2018-01-24 17:02:58 +00:00
f1e5a657ba
Fixed some stuff that was broken
2018-01-21 16:56:33 +02:00
c447103f0f
Quite the overhaul and improvement
2018-01-21 16:29:06 +02:00
c6ac076204
started splitting out the links
2018-01-20 15:41:17 +02:00
54c4be43d3
More code styling
2018-01-19 09:34:53 +11:00
cebd81f000
Executed prettifier task and added missing types
2018-01-19 09:30:27 +11:00
b92641a113
Better demo
2018-01-19 07:56:03 +11:00
2c0c5ffaff
Rendering a conditional label with static styling
2018-01-18 16:13:15 +11:00
75412dfb2e
run pretty
2018-01-08 20:57:58 +02:00
518f481776
complete refactor
2018-01-08 20:50:54 +02:00
32738688a6
Demos are a whole lot better now
2018-01-07 22:48:52 +02:00
ecd7202fb5
Merge branch 'cleanup-demos' of github.com:projectstorm/react-diagrams into cleanup-demos
2018-01-07 13:50:17 +02:00
5bb9591478
Now display code side to size
2018-01-07 13:49:18 +02:00
4598855145
Actually fixed jest
2018-01-04 23:56:48 +02:00
0291bd41fd
cleaned up the demos nicely
2018-01-04 23:18:49 +02:00
0be7157cd2
Add some helper widgets
2018-01-04 23:01:30 +02:00
83d5d50a3b
started work on docs
2018-01-04 22:45:55 +02:00
bbf88ca951
cleaned up demos
2018-01-04 21:45:23 +02:00
c9523a107a
whoops
2018-01-01 18:41:10 +02:00
3e3b284ed5
it works again, thanks jsdom
2018-01-01 18:38:08 +02:00
f258371bc6
more rework of the cloning
2017-12-28 19:03:32 +02:00
97a92f6d33
Link updates
2017-12-27 09:52:26 -06:00
b71f82bc73
add entity cloning, fix #123 , split link if point dropped on different node
2017-12-26 16:32:15 -06:00
94388f4aef
clean up code style
2017-12-16 23:04:01 +02:00
8e6ebcf44f
changes made based on @dylanvorster comments - undoing changes to the code base
2017-11-29 17:25:37 +01:00
f040d46e53
port creates link with himself as source port
2017-11-29 07:56:37 +01:00
9b047ca4e4
custom link demo
2017-11-28 19:35:52 +01:00
a1369453c1
house keeping
2017-11-24 00:09:26 +02:00
9694f99827
Improve action handler
2017-11-21 16:38:45 +01:00