twenty
twenty copied to clipboard
WIP Add Object Alternative view
Current state:
I have some things im not really happy with right now:
- If I have different connections it would be weird to display a one_one or many_one connection differently
- The edges overlay always at one hand at the source/target (also being a problem with the 3 dots vs 1 dot)
- I would have to do 4 versions of the 3 dot marker variant as an svg with exactly the same width as the edges wich is not as easy as it seems :)
- The initial layout is not really great - I know dagre or elkjs could solve this but maybe there is a better solution ...
If someone has a good idea for one or more of the problems im happy to integrate them ;)
I'm a big fan of this PR! I'm taking a look this afternoon
I'm a big fan of this PR! I'm taking a look this afternoon
Just pushed some changes its now somewhere between doing connections on all fields (which im a fan of but not had the time to reimplement on the new design) and the version showing only one connection per object.
Really great work!!! I agree having the connections at the field level would make this more useful. I pushed a basic implem of dagre. I'm not sure if it's much better, the positioning is nicer. But it seems it broke fitview somehow? Or is it only for me?
Really great work!!! I agree having the connections at the field level would make this more useful. I pushed a basic implem of dagre. I'm not sure if it's much better, the positioning is nicer. But it seems it broke fitview somehow? Or is it only for me?
I just have done the work on the field based edges:
Initally it now looks like this:
Do you mean this with not fitted?
Thanks @brendanlaschke for your contribution! This marks your 93rd PR on the repo. You're top 1% of all our contributors 🎉 See contributor page - Share on LinkedIn - Share on Twitter
just FYI @Bonapara this was merged over the week-end so should be part of Monday's release