Skip to content

feat: Merge View (RDFA-344) - #176

Merged
kiph-soptim merged 55 commits into
mainfrom
feature/RDFA-344-Cross-profile-diagrams
Jul 1, 2026
Merged

feat: Merge View (RDFA-344)#176
kiph-soptim merged 55 commits into
mainfrom
feature/RDFA-344-Cross-profile-diagrams

Conversation

@kiph-soptim

@kiph-soptim kiph-soptim commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the Merge View. In the merge view all classes of an dataset are merged based on their URI and displayed in one diagram.

Related Issues

Checklist

  • Tests added or updated (or not applicable)
  • Documentation updated (or not applicable)
  • No breaking changes introduced (or described in the summary above)
  • Commits are signed off (git commit -s) for DCO

Testing Notes

…s-profile-diagrams

# Conflicts:
#	frontend/src/routes/mainpage/packageNavigation/DatasetSection.svelte
…s-profile-diagrams

# Conflicts:
#	backend/src/main/java/org/rdfarchitect/database/inmemory/GraphWithContext.java
#	backend/src/main/java/org/rdfarchitect/database/inmemory/GraphWithContextCollection.java
#	backend/src/main/java/org/rdfarchitect/database/inmemory/InMemoryDatabase.java
#	backend/src/main/java/org/rdfarchitect/database/inmemory/InMemoryDatabaseImpl.java
#	backend/src/main/java/org/rdfarchitect/database/inmemory/SessionDataStore.java
#	backend/src/main/java/org/rdfarchitect/services/diagrams/CustomDiagramService.java
#	backend/src/main/java/org/rdfarchitect/services/dl/select/QueryDiagramLayoutService.java
#	backend/src/main/java/org/rdfarchitect/services/dl/update/UpdateDiagramLayoutService.java
#	backend/src/main/java/org/rdfarchitect/services/dl/update/classlayout/UpdateClassLayoutService.java
#	frontend/src/lib/rendering/svelteflow/components/SvelteFlowClassContextMenu.svelte
kiph-soptim and others added 6 commits June 11, 2026 12:47
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Signed-off-by: Philipp Kirchner <philipp.kirchner@soptim.de>
This reverts commit fd48b2d.
Comment thread backend/src/main/java/org/rdfarchitect/models/cim/data/dto/CIMAssociation.java Outdated
@rema-soptim

Copy link
Copy Markdown
Collaborator
  • Inheritance is never colored, I'm not sure if this is intentional.
  • When importing a new graph, the custom diagram navigation is not reloaded, so no new classes are shown
  • selecting a merged class in the navigation automatically opens the diagram, which is a different behavior from opening normal classes or ones in other custom diagrams
  • More of a question, but why is the merged view not just shown when clicking on the dataset, but instead a separate entry/section in the navigation?
  • ctrl-z/y is not possible in custom diagrams, maybe a toast notification would be helpful to avoid confusion why this doesn't work
  • When renaming a class, the class editor shows the previously merged class instead of the one that was just renamed
  • also in that case an empty class editor pane with the text "No sources available for this class." is shown, when trying to open a new class, then you have to click twice, once to exit the class editor and then again to open a new one.
  • maybe the graphnames in the drop-down of the classeditor should also have the same colors as the attributes and associations in the diagram.
  • The graphnames drop-down, is not the same height, as the buttons or other input fields
  • Is the merge view necessary, if only one graph exists?
  • In the merged class editor, the comment preview button is not visible

@rema-soptim rema-soptim left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • When a class is renamed to something that does not exist yet an new mergedClassEditor is created. this new mergedClassEditor then has the dl position of (i guess) 0,0, which moves the currently selected class away. I think it should just keep the dl-x/y of the old mergedClassEditor and the z index + 1. If the z index is too complicated i'd just move it to max-z+1.
  • There is no context menu in the mergedClassView to edit the dl-z index

Comment thread frontend/src/routes/mainpage/classEditor/mergedClassEditor.svelte
Comment thread frontend/src/routes/mainpage/classEditor/mergedClassEditor.svelte
rema-soptim
rema-soptim previously approved these changes Jun 30, 2026

@rema-soptim rema-soptim left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…s-profile-diagrams

# Conflicts:
#	backend/src/main/java/org/rdfarchitect/services/dl/select/QueryDiagramLayoutService.java
@kiph-soptim
kiph-soptim merged commit 324795a into main Jul 1, 2026
17 checks passed
@kiph-soptim
kiph-soptim deleted the feature/RDFA-344-Cross-profile-diagrams branch July 1, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants