awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
awslabs avatar

awslabs/diagram-as-code

0
View on GitHub↗
1,523 stars·98 forks·Go·Apache-2.0·32 views

Diagram As Code

This project is a library for generating visual architecture diagrams and network topologies directly from infrastructure-as-code templates and configuration specifications. It functions as a programmatic interface that transforms infrastructure definitions into visual documentation, allowing users to maintain system diagrams as version-controlled text files.

The tool distinguishes itself through an automated layout engine that uses graph algorithms to calculate spatial positioning, connection routing, and link paths without manual coordinate configuration. It supports complex visual hierarchies by enabling logical grouping of resources, boundary positioning, and the application of custom visual styles to individual components or segments.

The system provides a comprehensive set of capabilities for managing diagram flow and structure, including automated pathfinding, directional indicators, and overlap prevention for connections. It also features a programmatic drawing interface and template processing logic, which allow for the integration of diagram generation into automated workflows or external software agents.

Features

  • UML Diagram Generators - Converts infrastructure specifications into visual diagrams for documentation purposes.
  • Cloud Architecture Diagramming Tools - Provides a library for automatically generating visual architecture diagrams from infrastructure-as-code templates.
  • Version-Controlled Configuration Stores - Enables version control of architecture diagrams by storing definitions as plain text files.
  • Infrastructure as Code Generators - Generates architecture diagrams automatically from infrastructure-as-code configuration files.
  • Network Topology Diagrams - Programmatically renders network topologies and data flow diagrams from infrastructure definitions.
  • Automated Diagram Routing - The tool determines optimal connection points between resources based on their relative positions to eliminate the need for manual coordinate configuration during diagram creation.
  • Automatic Layout Engines - Calculates optimal positioning and sizing for resources to ensure diagrams remain readable.
  • Declarative Configuration Systems - Transforms infrastructure definitions into internal object models using a declarative approach.
  • Graph Layout Engines - Uses force-directed algorithms to calculate optimal node positioning and connection routing for diagrams.
  • Documentation Generators - Converts configuration files into visual system topologies for architecture documentation.
  • Dynamic Templates - Uses dynamic templating to process configuration files into scalable and repeatable architecture diagrams.
  • Version-Controlled Documentation - Supports managing architecture diagrams as version-controlled text files for auditing and collaboration.
  • Cloud Infrastructure Design - Defines and organizes cloud resources into logical groups and boundaries for architectural visualization.
  • Cloud Infrastructure Visualization - Provides a programmatic interface for rendering network diagrams and resource relationships.
  • Infrastructure Visualization Tools - Parses infrastructure-as-code templates to automatically generate visual architecture diagrams.
  • Automated Drawing Sequences - Exposes a programmatic interface to automate the creation and styling of diagram elements.
  • Link-to-Link Connections - Supports drawing lines between components with configurable paths and bends.
  • Spatial Constraint Solvers - Calculates spatial positioning and collision rules for infrastructure components to ensure readable diagram layouts.
  • Diagram Layout Organizers - Organizes infrastructure components into vertical and horizontal stacks to represent network boundaries and traffic flow.
  • Cloud Infrastructure Diagrams - Converts infrastructure definitions into professional visual representations of cloud environments.
  • Visual Architecture Groupings - The tool draws visual boundaries across multiple existing resources to represent cross-cutting concerns like scaling groups or network segments without altering the underlying hierarchy.
  • Component Grouping - Organizes infrastructure resources into logical boundaries and containers to define visual hierarchies.

Star history

Star history chart for awslabs/diagram-as-codeStar history chart for awslabs/diagram-as-code

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Diagram As Code

These projects share indexed features with Diagram As Code. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • yizhiyanhua-ai/fireworks-tech-graphyizhiyanhua-ai avatar

    yizhiyanhua-ai/fireworks-tech-graph

    8,048View on GitHub↗

    Fireworks Tech Graph is a tool that generates SVG and PNG technical diagrams from natural language descriptions, supporting both English and Chinese input. It produces publication-quality diagrams for AI architectures, UML types, and other technical domains without requiring manual drawing or diagramming syntax. The tool distinguishes itself through a semantic shape vocabulary and arrow-based flow encoding that conveys component roles and data flow types through consistent geometric shapes, stroke widths, dash patterns, and colors rather than relying on textual labels. It renders the same dia

    Pythonagent-workflowsaiclaude-code
    View on GitHub↗8,048
  • mingrammer/diagramsmingrammer avatar

    mingrammer/diagrams

    42,356View on GitHub↗

    Diagrams is a diagram-as-code framework and infrastructure mapping tool used to generate system architecture visualizations via Python code. It functions as a programmatic wrapper for Graphviz, allowing users to define cloud services and their interconnections to create structured architectural layouts. The project specializes in cloud architecture visualization by mapping software components to a library of provider-specific icons. This approach enables the management of system designs within version control to track architecture changes over time. The library provides capabilities for conf

    Pythonarchitecturediagramdiagram-as-code
    View on GitHub↗42,356
  • terrastruct/d2terrastruct avatar

    terrastruct/d2

    23,083View on GitHub↗

    This project is a diagram-as-code tool that transforms declarative text scripts into professional visual representations. It functions as a technical documentation generator, allowing users to define nodes, connections, and hierarchical relationships through a domain-specific modeling language that integrates directly into version-controlled developer workflows. The tool distinguishes itself through a highly modular architecture that decouples diagram definitions from spatial positioning. It features a pluggable layout engine that supports multiple arrangement algorithms, alongside a styling

    Godeveloper-toolsdiagrammingdiagrams
    View on GitHub↗23,083
  • plantuml/plantumlplantuml avatar

    plantuml/plantuml

    13,093View on GitHub↗

    PlantUML is a text-to-diagram generator that translates human-readable markup into structured graphical representations. It functions as a diagram-as-code tool, allowing users to create and maintain technical documentation, architectural models, and flowcharts by decoupling diagram content from visual layout. The project distinguishes itself through a comprehensive rendering pipeline that processes domain-specific markup into various output formats, including vector and raster graphics. It utilizes a graph-based layout engine to calculate spatial positioning, while a declarative styling layer

    Javadiagramdiagram-as-codediagrams
    View on GitHub↗13,093
Compare all 30 related projects→

Frequently asked questions

What does awslabs/diagram-as-code do?

This project is a library for generating visual architecture diagrams and network topologies directly from infrastructure-as-code templates and configuration specifications. It functions as a programmatic interface that transforms infrastructure definitions into visual documentation, allowing users to maintain system diagrams as version-controlled text files.

What are the main features of awslabs/diagram-as-code?

The main features of awslabs/diagram-as-code are: UML Diagram Generators, Cloud Architecture Diagramming Tools, Version-Controlled Configuration Stores, Infrastructure as Code Generators, Network Topology Diagrams, Automated Diagram Routing, Automatic Layout Engines, Declarative Configuration Systems.

Which projects share features with awslabs/diagram-as-code?

Projects with overlapping indexed features include: yizhiyanhua-ai/fireworks-tech-graph — Fireworks Tech Graph is a tool that generates SVG and PNG technical diagrams from natural language descriptions,… mingrammer/diagrams — Diagrams is a diagram-as-code framework and infrastructure mapping tool used to generate system architecture… terrastruct/d2 — This project is a diagram-as-code tool that transforms declarative text scripts into professional visual… plantuml/plantuml — PlantUML is a text-to-diagram generator that translates human-readable markup into structured graphical… plantuml-stdlib/c4-plantuml — C4-PlantUML is a code-driven library that generates C4 model software architecture diagrams from PlantUML source text.… darrenburns/posting — Posting is a terminal-based HTTP request manager designed for developing, testing, and documenting API endpoints. It…

Curated searches featuring Diagram As Code

Hand-picked collections where Diagram As Code appears.
  • Diagrams-as-Code Tools
  • Diagramming modeling tools