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

What would be required to generate and export a .webgmexm of a software model based on a deployment #220

Open
AWatk opened this issue Mar 6, 2018 · 2 comments
Labels

Comments

@AWatk
Copy link
Member

AWatk commented Mar 6, 2018

I.E. Generate a software model tree that is a subset of the current project's software model that contains only the relevant components to the deployment at hand.

Example

Project Software Model: 
  Library-1
  Library-2
  Package A
    Component A.1
      Uses Library-1
    Component A.2
    Component A.3
  Package B
    Component B.1
    Component B.2
      Uses Library-2
Deployment Model:
  Container
    Node 1
      Component A.1
    Node 2
      Component A.2
       Component B.1
.webgmexm Software Model:
  Library-1
  Package A
    Component A.1
    Component A.2
  Package B
    Component B.1
@finger563
Copy link
Member

realistically we would want the plugin to act on an Experiment so that it will find the deployment, system model, and from there the relevant components that need to be exported.

@finger563
Copy link
Member

Looks like we can use exportModelsToFile from webgme-engine/serialization.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants