Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API for building JavaFX scene graph for transient diagram views #2778

Closed
philip-alldredge opened this issue Apr 5, 2022 · 0 comments · Fixed by #2779
Closed

Add API for building JavaFX scene graph for transient diagram views #2778

philip-alldredge opened this issue Apr 5, 2022 · 0 comments · Fixed by #2779

Comments

@philip-alldredge
Copy link
Collaborator

philip-alldredge commented Apr 5, 2022

It would be helpful to have an API that produces a JavaFX scene graph of a transient diagram-like view. This API would allow plugins to make use of the rendering and layout capabilities of the OSATE graphical editor.

The JavaFX nodes for the individual graphics are exposed but using those nodes requires the plugin developer to build the scene graph with those nodes. Visualizing an AADL model using those nodes would require significant effort and duplication of the capabilities of the graphical editor.

The components for building a scene graph and using ELK to layout that scene graph is internal. Add an API that will wrap those internal components into a basic API that can remain stable as changes are made to the API. Needed capabilities:

  • Create a scene graph for a diagram-like visualization of model elements. API should allow specifying which elements are to be visualized.
  • Allow applying styles to nodes
  • Provide bi-directional mapping between the requested model elements and the scene graph nodes.
  • Enable visualizing business objects which are not supported by the graphical editor by allowing specifying additional business object handlers.
@philip-alldredge philip-alldredge self-assigned this Apr 5, 2022
@philip-alldredge philip-alldredge changed the title Add API for visualizing models Add API for building JavaFX scene graph for transient diagram views Apr 5, 2022
@philip-alldredge philip-alldredge added this to the 2.11.0 milestone Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant