{"id":25952046,"url":"https://github.com/atxtechbro/diagrams-as-code","last_synced_at":"2025-07-11T03:02:54.830Z","repository":{"id":279784212,"uuid":"939960888","full_name":"atxtechbro/diagrams-as-code","owner":"atxtechbro","description":"This repository explores the use of Mermaid for creating diagrams as code, with a focus on how to represent diagrams in a clear and maintainable way. It also examines the concept of separating the content of a diagram from its visual presentation, and discusses potential approaches and tools for achieving this separation.","archived":false,"fork":false,"pushed_at":"2025-02-27T12:57:08.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T16:19:54.288Z","etag":null,"topics":["diagrams-as-code","documentation","markdown","mermaid","software-architecture","visualization"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atxtechbro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-27T11:46:14.000Z","updated_at":"2025-02-27T12:59:26.000Z","dependencies_parsed_at":"2025-02-27T16:27:46.413Z","dependency_job_id":"3508d48b-e481-4881-b628-78e2260a76de","html_url":"https://github.com/atxtechbro/diagrams-as-code","commit_stats":null,"previous_names":["atxtechbro/diagrams-as-code"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atxtechbro/diagrams-as-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fdiagrams-as-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fdiagrams-as-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fdiagrams-as-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fdiagrams-as-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atxtechbro","download_url":"https://codeload.github.com/atxtechbro/diagrams-as-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fdiagrams-as-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264719228,"owners_count":23653540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diagrams-as-code","documentation","markdown","mermaid","software-architecture","visualization"],"created_at":"2025-03-04T14:32:48.410Z","updated_at":"2025-07-11T03:02:54.812Z","avatar_url":"https://github.com/atxtechbro.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diagrams as Code\n\n## Render a Mermaid diagram in GitHub\n\nHere are a few examples of Mermaid diagrams:\n\n```mermaid\ngraph \na --\u003e b;\n```\n\n```mermaid\nsequenceDiagram\na --\u003e b: am i alone?\nb --\u003e a: i see you\n```\n\n```mermaid\nsequenceDiagram\n    Alice--\u003eJohn: Hello John, how are you?\n    John--\u003e\u003eAlice: Great!\n```\n\n## Diagrams as Code 2.0\n\n\u003e \"Separate the content from the presentation\"\n\u003e\n\u003e — Simon Brown, from his C4 model documentation: [https://c4model.com/](https://c4model.com/)\n\nThe examples above demonstrate a direct, text-to-visual representation of a diagram.\n\n**Question:** Is it possible to achieve a separation of the diagram's core information from its visual presentation using only Markdown and GitHub? If not, what additional tools or approaches would be required? \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatxtechbro%2Fdiagrams-as-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatxtechbro%2Fdiagrams-as-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatxtechbro%2Fdiagrams-as-code/lists"}