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

Clean up 10_wiiu example for PlantUML #58

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

Potherca
Copy link
Contributor

@Potherca Potherca commented Sep 5, 2024

Looking through the examples, I noticed that the 10_wiiu example for PlantUML looked "off".

On closer inspection, I realized this was because the "16 KB ROM" element was missing. This was caused by the alias rom being used for two separate elements. By renaming the second element to prom, this was fixed.

As I already had the file open and was bored very motivated to contribute I also fixed up the diagram a bit.

  • All arrows were -- which means up/down to PlantUML, by changing some arrows to - (meaning left/right) things look nicer
  • To avoids links crossing, I made some arrows longer (using ---) to give elements more space to be pointed to

Things could be made even nicer with the aid of invisible helper arrows, but this felt like cheating (as that would be work done by the author, not the renderer) and I wanted to watch Netflix. So I didn't.

Anyway, hope this helps. 👍

There was an issue caused by the alias `rom` being used for two separate elements. Fixed by renaming the second element to `prom`.

Another issue was that all arrows were `--` which means up/down to PlantUML. This was fixed by changing some arrows to `-` (meaning left/right).

Finally, some arrows were made longer (`---`) to give elements more space to be pointed to. This avoids links crossing.
Copy link
Contributor

@alixander alixander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah did not realize plantuml variable names were global. thank you!

@alixander alixander merged commit 96a158d into terrastruct:master Sep 5, 2024
2 checks passed
@Potherca Potherca deleted the patch-1 branch September 7, 2024 09:53
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