opencaesar / oml-vision

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

refactor layouts to support viewpoint definitions for each page #6

Closed pogi7 closed 6 months ago

pogi7 commented 8 months ago

Checklist before submitting a feature request

Is your feature request related to a problem? If yes, describe the problem

I want to specify viewpoint definitions for each view/page.

Describe the desired feature

Currently each layout is defined in the src/vision/layouts directory. There are the tableLayouts.json, treeLayouts.json, and diagramLayouts.json. If I have a project with Requirements, Components, and Budget, I want to specify the layouts as requirements.json, components.json, and budget.json instead while being able to specify if each viewpoint is a table, tree, or diagram.

Optionally these layouts can be packaged in the build/vision directory so other OML projects/models can import those viewpoint definitions.

Additional context

Currently OML Rosetta supports this ability to define viewpoints in .aird files.