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

Hide internal properties #150

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Conversation

jp7677
Copy link
Contributor

@jp7677 jp7677 commented Feb 24, 2023

The Structurizr DSL library introduced element/relationship identifiers as properties recently. Hide those for the site generation since we are not really interested in presenting them to users.

This works around the property introduced in structurizr/dsl@0eda61d
The effect without this PR can (currently) be seen here https://avisi-cloud.github.io/structurizr-site-generatr/main/embedding-diagrams-and-images/ and also here https://avisi-cloud.github.io/structurizr-site-generatr/main/internet-banking-system/

@jp7677
Copy link
Contributor Author

jp7677 commented Feb 27, 2023

Reported here for the exporter: structurizr/export#49

@jp7677
Copy link
Contributor Author

jp7677 commented Feb 27, 2023

The appearance in the exported diagrams is fixed once we have a new release of the exporter library, so we can change this PR to only hide this properties in the software homes.

Edit: Available in https://github.com/structurizr/export/releases/tag/v1.10.1

The Structurizr DSL library introduced element/relationship identifiers
as properties recently. Hide those for the site generation since we are
not really interested in presenting them to users.

Note that at the time of committing they still appear on the generated
diagrams, though that has already been addressed upstream in
com.structurizr:structurizr-export and will be fixed with a library
update once a new version has been released.
@jp7677
Copy link
Contributor Author

jp7677 commented Feb 27, 2023

The PR has been updated to only address the Software System Homes.

@dirkgroot
Copy link
Collaborator

Thanks again, @jp7677! 😄

@dirkgroot dirkgroot merged commit 0047da3 into avisi-cloud:main Feb 28, 2023
@jp7677 jp7677 deleted the internal-props branch March 5, 2023 06:48
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

Successfully merging this pull request may close these issues.

2 participants