Skip to content

Frontend API layer #9

@adrpo

Description

@adrpo

Sketch of needed high level API commands for integrating the frontend in a usual Modelica workflow.

Loading and parsing - model management

  • load a model or library from a directory
  • load a model or library from a zip file
  • load a model or library from a git repository
  • load a model or library from an URL

Diagramming support

  • toIcon(Path.To.Model) -> G6 JSON
  • toDiagram(Path.To.Model) -> G6 JSON
  • toDialog(Path.To.Model) -> JSON Forms
  • modificationListener(diagram, forms) -> OMFrontend.js AST changes

Simulation support

  • simulate(Path.To.Model, LibraryDependencyList (from uses annotation)) -> JSON

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions