<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Random bits</title>
    <description>The latest articles on DEV Community by Random bits (@random_bits_49a6a45daeea3).</description>
    <link>https://dev.to/random_bits_49a6a45daeea3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4270930%2Fc43c92af-9d2e-4318-885b-d92fc09125e5.png</url>
      <title>DEV Community: Random bits</title>
      <link>https://dev.to/random_bits_49a6a45daeea3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/random_bits_49a6a45daeea3"/>
    <language>en</language>
    <item>
      <title>Flowgraph Studio vs Mermaid Live Editor: When layout becomes part of the story</title>
      <dc:creator>Random bits</dc:creator>
      <pubDate>Sat, 28 Nov 2026 15:02:19 +0000</pubDate>
      <link>https://dev.to/random_bits_49a6a45daeea3/flowgraph-studio-vs-mermaid-live-editor-when-layout-becomes-part-of-the-story-2na2</link>
      <guid>https://dev.to/random_bits_49a6a45daeea3/flowgraph-studio-vs-mermaid-live-editor-when-layout-becomes-part-of-the-story-2na2</guid>
      <description>&lt;p&gt;A flowchart can compile perfectly and still make someone stop at the wrong arrow. That becomes obvious when a simple order process gains an exception: most orders go straight to fulfillment, while a few need an analyst. The text is still short. The picture suddenly takes longer to explain.&lt;/p&gt;

&lt;p&gt;That is where the choice between Mermaid Live Editor and Flowgraph Studio becomes interesting. Both work with Mermaid, but the practical question is how much of the final arrangement you need to control.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo5ygspsugmjbuorkhdf8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo5ygspsugmjbuorkhdf8.png" alt="An order moves through a risk check, with a separate analyst review branch that rejoins fulfillment" width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative order-review flow. The exception branch deserves as much care as the direct route.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the branch that causes confusion
&lt;/h2&gt;

&lt;p&gt;Consider this small order-review process:&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
  ORDER[Order received] --&amp;gt; RISK{Needs review?}
  RISK --&amp;gt;|No| SHIP[Fulfill order]
  RISK --&amp;gt;|Yes| REVIEW{Analyst decision}
  REVIEW --&amp;gt;|Approve| SHIP
  REVIEW --&amp;gt;|Decline| NOTIFY[Notify customer]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;The important detail is the convergence. An order that passes automatically and an order approved by an analyst reach the same fulfillment step. A hurried reader should see that immediately.&lt;/p&gt;

&lt;p&gt;Automatic layout may already communicate it well. Before reaching for more controls, try a different direction or shorter labels. A good diagram often needs less content before it needs more styling.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Mermaid Live Editor earns its place
&lt;/h2&gt;

&lt;p&gt;Mermaid Live Editor is a convenient place to write a definition, inspect the preview, and share a small reproducible example. Mermaid's &lt;a href="https://mermaid.ai/open-source/intro/getting-started.html" rel="noopener noreferrer"&gt;getting-started guide&lt;/a&gt; describes the editor and its source and image export workflow.&lt;/p&gt;

&lt;p&gt;That makes it useful during the early stages of this example. Add the analyst branch, check the labels, and make sure both approval paths terminate correctly. The automatic arrangement handles the changing structure while you work on the logic.&lt;/p&gt;

&lt;p&gt;It is also a useful reference when a diagram will be rendered by ordinary Mermaid elsewhere. You can test the definition without depending on the presentation choices of a separate authoring tool. It will not prove compatibility with every platform's Mermaid version, but it gives you a clear starting point.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes when the arrangement needs to survive
&lt;/h2&gt;

&lt;p&gt;Suppose the diagram is going into a narrow runbook. You want the normal route across the top, the analyst directly below the risk check, and the decline notification beside the exception. Those positions help explain the process.&lt;/p&gt;

&lt;p&gt;In Flowgraph Studio, Manual mode lets you arrange supported elements and adjust connectors while keeping the Mermaid definition visible. The &lt;a href="https://flowgraph.studio/guides/edit-mermaid-on-the-canvas/" rel="noopener noreferrer"&gt;canvas-editing guide&lt;/a&gt; explains how placement information is saved in a Mermaid comment. Flowgraph uses it to reproduce the arrangement; other Mermaid renderers ignore it and apply their own layout.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgrpzjxlmsqu7urb125xk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgrpzjxlmsqu7urb125xk.png" alt="Flowgraph Studio Manual mode with Mermaid source and the order review decision selected" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The manually arranged order flow with its source and the risk decision open for editing.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That distinction matters when you publish. The graph's relationships travel in Mermaid, while the precise composition travels through a Flowgraph-rendered export. If a reviewer must see the analyst branch in exactly the approved position, include the SVG or PNG alongside the source.&lt;/p&gt;

&lt;h2&gt;
  
  
  Judge the next edit, too
&lt;/h2&gt;

&lt;p&gt;A useful comparison is to rename the analyst step, add one outcome, and export again. Can someone still follow the ordinary route? Does the return arrow look like a loop back to review? Is the decline label readable at the width used in the runbook?&lt;/p&gt;

&lt;p&gt;These are editorial questions, and they matter more than whether the canvas looks impressive at full screen. An attractive arrangement that becomes fragile after one label change will cost time later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choose according to what you are maintaining
&lt;/h2&gt;

&lt;p&gt;Use Mermaid Live Editor for quick drafting, syntax exploration, and small diagrams that read well with automatic layout. Use Flowgraph Studio when a specific composition needs to be edited visually and reused in documentation.&lt;/p&gt;

&lt;p&gt;For this order flow, the decision comes down to the analyst branch. If automatic layout explains it clearly, keep the workflow simple. If that branch keeps causing confusion, &lt;a href="https://flowgraph.studio/projects" rel="noopener noreferrer"&gt;open the diagram in Flowgraph Studio&lt;/a&gt; and make the reading order explicit.&lt;/p&gt;

</description>
      <category>mermaid</category>
      <category>design</category>
      <category>development</category>
    </item>
  </channel>
</rss>
