2e77b3e191
GraphView: null safety++
2021-06-02 09:52:02 +02:00
d008f0d982
First version of dart migrate
...
Most of the files haven't been migrated. Lets work on this bit by bit
2021-04-10 22:18:35 +02:00
db51537896
Remove fork of InteractiveViewer
...
The fixes are in flutter stable
2021-02-23 10:13:14 +01:00
420de6ee4c
Do not call setState if unmounted
...
Fixes APP-GV
2020-11-10 00:40:21 +01:00
8dbab76011
GraphView comments
2020-10-12 18:21:33 +02:00
48b9b4d642
GraphView: Dispose the Graph correctly
2020-09-28 00:48:18 +02:00
dc4e18156c
GraphView: Fix dragging the nodes
...
This was much simpler than expected.
2020-09-28 00:38:57 +02:00
4d586d85ae
Avoid modifying the InteractiveViewer at all
...
Just import it with a different prefix
2020-09-28 00:17:55 +02:00
a422b09fce
GraphView: Allow scaling out far more
...
This way we can see allmost the entire graph.
2020-09-26 06:17:44 +02:00
1b1e49902b
Add a copy of the InteractiveViewer
...
The one in the current stable branch is buggy and the scaling doesn't
work reliably.
This is from the beta branch.
This breaks selecting a node and being able to move it easily.
2020-09-26 05:57:30 +02:00
760be79153
GraphView: Try using the InteractiveViewer
...
Using two SingleChildScrollView hijacks the touch events and the
underlying widget never gets it.
The InteractiveViewer seems to be as useless.
2020-09-26 05:38:13 +02:00
6ede96a8ab
Graph: Remove all debug print statements
...
Too much noise. I'll remove them later when I cleanup the code.
2020-09-26 05:37:14 +02:00
4d3573da98
GraphView: Tap gestures - get the node position properly
...
Earlier this was only working as the global and local coordinates were
the same. Now that I've added a SafeArea that is no longer the case.
2020-09-26 05:35:43 +02:00
4928143b31
Graph Node: Render with a black border
...
This way the nodes are more easily recognizable when they overlap each
other.
2020-09-26 00:32:33 +02:00
445beb850d
GraphView: Fix the node width
...
The text below the nodes was causing it to not be rendered at its center
point as often the text would occupy more space.
2020-09-26 00:12:43 +02:00
f7adeafe7d
First iteration of the Graph View
...
I'm testing this with the Foam documentation. This has revealed a number
of bugs in our link resolver - most of which have now been fixed.
The graph layouting is not being done as this is so incredibly slow.
This has been added as an experimental feature.
2020-09-14 17:47:26 +02:00