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
5571fdb65e
Use time.dart
...
I'm sacrificing const code for readability. So maybe I'll lose a bit of
performance, but this is so much easier to read.
2020-11-10 19:07:09 +01:00
88dd449ac6
Graph: Avoid calling a method on null
...
Fixes APP-DX
2020-10-18 10:06:03 +02:00
48b9b4d642
GraphView: Dispose the Graph correctly
2020-09-28 00:48:18 +02:00
b34395f754
Graph: Do not let nodes get stuck
...
Nodes which have a pos < 0, are no longer force directed. This make the
graph behave strangely. It's better to just push it a little further
from the edge.
2020-09-26 06:03:14 +02:00
475fbcbc00
Graph: Start drawing the nodes closer to the top left
...
Instead of drawing them somewhere in the middle.
2020-09-26 05:39:26 +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
8e5ac69af2
Graph Layouting: Add original const values
...
These seem like magic values to me.
2020-09-26 01:17:35 +02:00
e616d69773
Graph Layout: Do not let nodes pos go < 0
...
Otherwise they fall off the visible area
2020-09-26 01:13:37 +02:00
42b7562989
GraphView: Properly cache the neighbours
...
Stupid mistake
2020-09-26 01:03:45 +02:00
70a48f6d2f
Graph: Remove unused function
...
We never assign nodes randomly starting positions any more.
2020-09-26 00:48:46 +02:00
34630c671e
Node: cache the label
...
Computing the path spec again and again is apparently very very
expensive.
2020-09-26 00:36:58 +02:00
719d6842c3
GraphView: Move initial node positioning logic to its own class
...
Right now we're just placing it in a grid, but we could also place them
in a circle as is done by Obsidian.
2020-09-14 17:57:38 +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