feat(desktop): support OWL class expressions in parser and detail panel (ONT-83)#67
Merged
DaveHudson merged 10 commits intoApr 1, 2026
Merged
Conversation
Parse and display owl:TransitiveProperty, owl:SymmetricProperty, owl:ReflexiveProperty, owl:FunctionalProperty, owl:InverseFunctionalProperty. Graph edges show compact T/S/R/F/IF badge rows; EdgeDetail panel shows full labels with tooltip help text. Order-independent parsing handles characteristic rdf:type triples before or after owl:ObjectProperty declaration. Co-Authored-By: Paperclip <noreply@paperclip.ing>
Characteristic badges now offset perpendicular to the edge direction instead of always 18px downward in screen-Y, preventing overlap on near-vertical edges. Co-Authored-By: Paperclip <noreply@paperclip.ing>
…es (ONT-82) When multiple edges share the same source→target pair (e.g. self-loops on Person), each edge's badge row now offsets by an additional 14px in the perpendicular direction based on its sorted index, preventing all badge rows from stacking at the same screen position. Co-Authored-By: Paperclip <noreply@paperclip.ing>
…t (ONT-82) Self-loop badges are hidden unless the edge is selected; detail panel shows characteristics regardless. Eliminates visual clutter on nodes with multiple reflexive/symmetric properties. Co-Authored-By: Paperclip <noreply@paperclip.ing>
useEdges() returns Edge<{}> so e.data.characteristics was unknown.
Cast to ObjPropEdge[] where the data type is known.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
…de selected (ONT-82) isSelfLoop && !selected && !isAdjacent ? 0 : ... so selecting the source/target node reveals the R badge without requiring a click on the tiny self-loop SVG path. Co-Authored-By: Paperclip <noreply@paperclip.ing>
…T-82) Parent container keeps pointer-events:none so clicks pass through to the edge; individual badge <span> elements opt back in with pointer-events:auto so their title tooltip is reachable on hover. Co-Authored-By: Paperclip <noreply@paperclip.ing>
Adds parser and class-detail spec tests plus OWL expression fixture for equivalentClass/unionOf/intersectionOf/complementOf and malformed-list scenarios. Co-Authored-By: Paperclip <noreply@paperclip.ing>
…ing (ONT-83) Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3c1e9d7 to
4f27ba6
Compare
…ntation Co-Authored-By: Paperclip <noreply@paperclip.ing>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
named,union,intersection,complement,unknown) to ontology classesowl:equivalentClass, anonymousrdfs:subClassOfexpressions, and RDF collections forunionOf/intersectionOf/complementOfClassDetailwithEQUIV/OR/AND/NOTbadges and clickable class chipsValidation
cd apps/desktop && bun run typecheckcd apps/desktop && bun run test tests/model/owl-class-expressions.test.ts tests/components/ClassDetail.class-expressions.test.tsxturbo test) passed in commit hook