feat: inspector panel configuration for node and edge labels
This change enables the user to select which attribute to use for the node and edge labels
Preview
Merge request reports
Activity
mentioned in merge request !174 (merged)
added 5 commits
- 0fa6fbe8 - refactor: move shape config into general nodes category to create room for node label settings
- af0e43ff - feat: add node/edge labelAttribute property to nodelink properties
- 0c0bc578 - feat: add controls in inspector panel to select attribute used for node/edge label
- 78feb9b3 - refactor: move link label logic into separate method
- e77e1bba - feat: update node and edge labels based on configuration
Toggle commit listrequested review from @marcos
added 15 commits
-
e77e1bba...cafc195c - 8 commits from branch
main
- 8d7710a2 - refactor: move shape config into general nodes category to create room for node label settings
- 8fa3daff - feat: add node/edge labelAttribute property to nodelink properties
- 013ea78f - feat: add controls in inspector panel to select attribute used for node/edge label
- 2310fb24 - refactor: move link label logic into separate method
- e9a61cb1 - feat: update node and edge labels based on configuration
- cffc112c - refactor: weaker references to config (caused errors)
- 9df2fb2e - feat: handle all possible attribute datatypes
Toggle commit list-
e77e1bba...cafc195c - 8 commits from branch
Good catch, I only tested with the Movies dataset. I added support for the different attribute types and mostly fixed the errors you shared. The first one (type missing) only happened once to me and is unrelated to this PR it seems, but I can't seem to replicate anymore. I'll keep an eye out for it happening again, but this can be fixed outside this PR.
added 53 commits
-
9df2fb2e...24bfe2e5 - 45 commits from branch
main
- 6ee66c79 - refactor: move shape config into general nodes category to create room for node label settings
- 9ed09359 - feat: add node/edge labelAttribute property to nodelink properties
- d54858a1 - feat: add controls in inspector panel to select attribute used for node/edge label
- d9158964 - refactor: move link label logic into separate method
- b03cd0aa - feat: update node and edge labels based on configuration
- 03ca263e - refactor: weaker references to config (caused errors)
- 97018823 - feat: handle all possible attribute datatypes
- f31ae590 - fix: ensure backwards compatibility with old savestates
Toggle commit list-
9df2fb2e...24bfe2e5 - 45 commits from branch
Rebased and ready to merge!
I decided to add backwards compatibility with old saveStates in f31ae590. Similar to what I did for Sjoerds big mapvis refactoring in df71e8c3. In case we detect we received an old saveState, patch it and return settings in the form we expect it. Can be removed at some point in the future.
This MR is included in version 1.86.0The release is available on GitLab release.
Your semantic-release bot