Code Monkey home page Code Monkey logo

temporal-diagrams's Introduction

temporal-diagrams

A Scala DSL for generating diagram variants

In action

Easily generate diagrams

---
title: Component diagram
---
flowchart
  reader-service:::Service

  writer-lambda:::Lambda

  classDef Lambda fill:#d49090

  classDef Service fill:#a1add1

  subgraph persistence [Persistence]
    database[(database)]:::Database

    classDef Service fill:#586ba4
  end

  reader-service -- reads from --> database

  writer-lambda -- writes to --> database
Loading

Or variants of them

---
title: Component diagram
---
flowchart
  reader-service:::Service

  writer-lambda:::Lambda

  classDef Lambda fill:#d49090

  classDef Service fill:#a1add1

  subgraph persistence [Persistence]
    database[(database)]:::Database

    replica-1[(replica-1)]:::Database

    replica-2[(replica-2)]:::Database

    classDef Service fill:#586ba4
  end

  reader-service -- reads from --> replica-1

  reader-service -- reads from --> replica-2

  writer-lambda -- writes to --> database
Loading

Even to different diagram languages

With complex targeting

Or highlighting certain areas

Features

  • Encode to one or more target diagram languages
  • Write in type safe DSLs for target diagram languages
  • Mix multiple domain languages in one diagram
  • Highlight certain areas of a diagram with highlighting

Supported target languages

See also

Unmanaged JAR

Copy the URL from the PlantUML download page

(cd YOUR_SBT_SUB_PROJECT/lib && curl -LO https://github.com/plantuml/plantuml/releases/download/v1.2023.13/plantuml-mit-1.2023.13.jar)

-L means follow redirects and -O means save the payload

Generating very large diagrams

Inject the override via environment variable

PLANTUML_LIMIT_SIZE=8192 sbt run

Elsewhere

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.