Silver's Home
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@afruitpie@lemmy.world to Programming@programming.devEnglish • 2 years ago

D2 is a modern diagram scripting language that turns text to diagrams

d2lang.com

external-link
message-square
18
fedilink
87
external-link

D2 is a modern diagram scripting language that turns text to diagrams

d2lang.com

@afruitpie@lemmy.world to Programming@programming.devEnglish • 2 years ago
message-square
18
fedilink
Home | D2 Documentation
d2lang.com
external-link
D2 is a modern DSL that turns text to diagrams.
  • @426UpgradeRequired@lemmy.world
    link
    fedilink
    English
    4•2 years ago

    This feels like a more modern and feature rich version of PlantUML. Very interesting

    • @lowleveldata@programming.dev
      link
      fedilink
      English
      1•2 years ago

      Can D2 do flowchart aka activity diagram in PlantUML?

      • @426UpgradeRequired@lemmy.world
        link
        fedilink
        English
        4•2 years ago

        Looks like it. https://d2lang.com/tour/sequence-diagrams

        I’m impressed with the grid diagrams too. I’m not sure plantUML has anything equivalent.

        It doesnt support all the diagram types plantUML does (for now) but it has the only two i ever used anyway. The tooling seems more robust and modern. I think I have a better chance getting my coworkers to try this one

        • @426UpgradeRequired@lemmy.world
          link
          fedilink
          English
          3•2 years ago

          Oops i can’t read.

          Flowcharts / activity diagrams seem well supported too, though.

          • @lowleveldata@programming.dev
            link
            fedilink
            English
            1•
            edit-2
            2 years ago

            Does it? I looked through the document and didn’t find it. It seems to be more focus on state diagram / component diagram.

            • @426UpgradeRequired@lemmy.world
              link
              fedilink
              English
              1•2 years ago

              Might just be my ignorance- if it has boxes connected with directional arrows it does everything I need a flow chart to do

              • @lowleveldata@programming.dev
                link
                fedilink
                English
                2•2 years ago

                There are a lot more specific shapes and layouts in a flowchart than simple boxes and arrows. E.g. start and end, branching, loop back, subprocess, etc

Programming@programming.dev

!programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 478 users / day
  • 1.64K users / week
  • 2.54K users / month
  • 7.75K users / 6 months
  • 21.3K subscribers
  • 2.23K Posts
  • 34.1K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @MaungaHikoi@lemmy.nz
  • @UlrikHD@programming.dev
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org