opencaesar / oml-vision

A VS Code extension providing UI viewpoints for OML models
Other
4 stars 2 forks source link

subRowMapping of Tree View doesn't work in some case #88

Closed UTNAK closed 5 days ago

UTNAK commented 2 months ago

Checklist before submitting a bug report

Context

In some case, subRowMappings of tree-views doesn't work.

Current result

I have tested on this model

Findings#1: Requirements Tree

I made a requirement tree using example, not working. The Sparql query seems as expected.

image

Findings#2: Component Tree with assembly and subsystem

This works.

image

When we change the key of iri from "subsystemIri" to "parentIri", not working.

image

Expected result

[What is expected to happen instead]

For the requirement tree.

img

For the component-tree, keys for the subRowMappings needs to be flexible, like diagrams as shown in this document

Additional context

[Any additional context. If applicable, you may provide screenshots and/or error logs.]

Possible fix

[Not required but you can suggest possible fixes for the bug or link a place in the code that could possibly be causing the bug]

Technical data