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

Hello, I would like to request the Java API documentation and XML format requirements. #111

Open
tt77654321 opened this issue Nov 19, 2024 · 2 comments

Comments

@tt77654321
Copy link

Good afternoon!
Currently, the URL of [https://www.modelio.org/documentation/javadoc-4.1/index.html.html] on Github cannot be accessed. I may need to use the viz() function or other functions for model conversion and saving. I don't know how to obtain the complete documentation.
Additionally, I would like to know what format requirements XML documents must follow if I want to import them into software. I tried looking at the Plant project/specific diagram but was unable to export it as XML. Please provide guidance.
In general, I want to make software recognizable text formats (such as XML) that can be imported by software or visualized through API. How can I achieve this? Do you have any good ideas or guidance?
Thank you very much!

@tt77654321
Copy link
Author

In addition, how can the.sysmL file of the sysml v2 specification be imported or visually displayed, not limited to the way users operate and api calls are made? Thank you very much!

@etiennebrosse
Copy link

Hi,

The Modelio API documentation is available under Modelio in the Help>Help menu or in the org.modelio.documentation.modelioapi_5.4.1.202312071609.jar file located at $ModelioInstallPath\plugins folder.

Requirements can be imported under the professional version of Modelio if they are conform to ReqIf format for example. Requirements are not available, by default, under Modelio Open source.

If you want to be able to import XML or JSON file under Modelio, I would recommend you to build your Modelio module (if it is not already supported by Modelio).
You should :

  1. have or define your schema (XSD or JSOM Schema).
  2. generate Java classes from it to handle file serialization or deserialization.
  3. use Modelio API to map your concepts to Modelio elements.

Right now, Modelio do not support sysml v2 so you have to implement your own import.

Hoping it helps.

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

No branches or pull requests

2 participants