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

🟢 Document various declarative, text-based diagram tools we use #327

Closed
Tracked by #385 ...
ryanhofdotgov opened this issue Sep 28, 2020 · 3 comments
Closed
Tracked by #385 ...
Assignees
Labels
Engineering Task related to the Engineering Guide and/or pulled from the old Engineering Guide repo. Guides Initiative 2 Tracks work for "Improving the Maintainability of the 18F Guides and Methods"

Comments

@ryanhofdotgov
Copy link

PlantUML, mermaid, edotor, etc.:
https://gsa-tts.slack.com/archives/C02CD5VUQ/p1601310859025700

@Sgtpluck
Copy link
Member

Initial ask:

I want to include a simple diagram in a Markdown file in a Github repo just for project documentation purposes. I’ve used Google Drawings and I could make a PNG export and put it in the repo and include it. But I’d rather have something where the source of the diagram could go in the repo with the document.
Is there something that people have used for diagrams that they would suggest? Is there some other diagram software that is common enough that its native file format would be reasonable to include in a repo? Or just include the PNG and put a link somewhere to the original Google drawing?

Add some context around what the tools are used for, and possible use cases

@adunkman
Copy link
Member

Mermaid just got inline rendering support from GitHub

@mogul
Copy link

mogul commented Mar 17, 2022

I have used the the C4 Model for representing system architecture, which the PlantUML standard library supports well, to implement diagrams-as-code. (Following links from the C4 site to text-based tooling for authoring C4 diagrams is what led me to start using PlantUML in the first place.) You can see examples of C4 PlantUML in action for data.gov.

This has also been incorporated into the rails-template to give people a head start in adopting these tools. (Note, however, that there's no GitHub Action to regenerate the rendered diagrams when source changes; that is still handled by hand.)

You can also use PlantUML for sequence diagrams like this generic SCM/CI/CD diagram, or many other diagram types, not just those specified in UML.

@christophermather christophermather transferred this issue from 18F/development-guide Dec 20, 2023
@christophermather christophermather added the Engineering Task related to the Engineering Guide and/or pulled from the old Engineering Guide repo. label Dec 20, 2023
@christophermather christophermather added Initiative 2 Tracks work for "Improving the Maintainability of the 18F Guides and Methods" Guides labels Dec 22, 2023
@amymok amymok changed the title Document various declarative, text-based diagram tools we use 🟢 Document various declarative, text-based diagram tools we use Jan 11, 2024
@SSPJ SSPJ closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Task related to the Engineering Guide and/or pulled from the old Engineering Guide repo. Guides Initiative 2 Tracks work for "Improving the Maintainability of the 18F Guides and Methods"
Projects
None yet
Development

No branches or pull requests

6 participants