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

Diagram Differences with openmdao 3.3 #7

Closed
JiaruiYangAtCornell opened this issue Feb 4, 2024 · 2 comments
Closed

Diagram Differences with openmdao 3.3 #7

JiaruiYangAtCornell opened this issue Feb 4, 2024 · 2 comments

Comments

@JiaruiYangAtCornell
Copy link

Hi, just tried the example of omxdsm/examples/sellar_xdsmjs.py using openmdao 3.30. Generated the following diagram which is different from what it was supposed to be shown on the GitHub.

Any guideline for a clearer view?

image
@onodip
Copy link
Owner

onodip commented Feb 9, 2024

@JiaruiYangAtCornell you can control the looks of your diagram with the "include_indepvarcomps" and "class_names" arguments of the write_xdsm() function. If you set both of them to "False", you will get the following diagram:

image

You can read more about the available options here:
https://github.com/onodip/OpenMDAO-XDSM/tree/v1.0/omxdsm/docs/xdsm_visualization.rst
And in the docstring:
https://github.com/onodip/OpenMDAO-XDSM/tree/v1.0/omxdsm/xdsm_writer.py#L831

@onodip
Copy link
Owner

onodip commented Feb 9, 2024

I updated the master branch and created a new tag, where this is the default setting in XDSMjs example.
https://github.com/onodip/OpenMDAO-XDSM/releases/tag/v1.1

@onodip onodip closed this as completed Feb 17, 2024
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