<?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: Berke Akdemir</title>
    <description>The latest articles on DEV Community by Berke Akdemir (@hanubaki).</description>
    <link>https://dev.to/hanubaki</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%2F4175341%2Fd5b58c09-c96a-4bfd-85d5-ed4a9ca24fc8.png</url>
      <title>DEV Community: Berke Akdemir</title>
      <link>https://dev.to/hanubaki</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hanubaki"/>
    <language>en</language>
    <item>
      <title>Building GraphFlow: An Interactive Distributed Systems Simulator in Pure SVG</title>
      <dc:creator>Berke Akdemir</dc:creator>
      <pubDate>Sat, 10 Oct 2026 13:42:38 +0000</pubDate>
      <link>https://dev.to/hanubaki/building-graphflow-an-interactive-distributed-systems-simulator-in-pure-svg-47b5</link>
      <guid>https://dev.to/hanubaki/building-graphflow-an-interactive-distributed-systems-simulator-in-pure-svg-47b5</guid>
      <description>&lt;p&gt;Hey everyone! 👋&lt;/p&gt;

&lt;p&gt;Today I'm excited to open-source &lt;strong&gt;GraphFlow&lt;/strong&gt;, an interactive browser-based distributed systems modeler and chaos simulator.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⚡ &lt;strong&gt;Live Simulator:&lt;/strong&gt; &lt;a href="https://graph-flow-virid.vercel.app" rel="noopener noreferrer"&gt;graph-flow-virid.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔗 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/Hanubaki/GraphFlow" rel="noopener noreferrer"&gt;github.com/Hanubaki/GraphFlow&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  The Problem: Architecture Diagrams Are Inert
&lt;/h3&gt;

&lt;p&gt;Whenever we design distributed microservices, we reach for tools like draw.io, Miro, Lucidchart, or Excalidraw. &lt;/p&gt;

&lt;p&gt;While they look great in documentation, &lt;strong&gt;static boxes and arrows can't tell you how your system actually behaves&lt;/strong&gt;. They don't reveal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What happens when a downstream worker starts choking?&lt;/li&gt;
&lt;li&gt;How packet latency compounds across synchronous gRPC calls?&lt;/li&gt;
&lt;li&gt;Whether an upstream circuit breaker will trip and isolate failures before crashing your entire API Gateway.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted a tool where &lt;strong&gt;the diagram actually runs&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  What Makes GraphFlow Different?
&lt;/h3&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%2Fv1abcipx5kev4fk4motg.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%2Fv1abcipx5kev4fk4motg.png" alt=" " width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GraphFlow is not just a diagramming canvas; it's a living, client-side simulation engine:&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Native SVG Vector Calculus (60 FPS)
&lt;/h4&gt;

&lt;p&gt;Request packets travel along cubic Bézier curves evaluated on every single frame with the &lt;strong&gt;De Casteljau algorithm&lt;/strong&gt;. There are no heavy canvas dependencies or bulky WebGL runtimes — the entire bundle is lightweight (&amp;lt; 75 KB compressed).&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Live Chaos &amp;amp; DDoS Surge Testing
&lt;/h4&gt;

&lt;p&gt;With a single click on &lt;strong&gt;"Inject Surge"&lt;/strong&gt;, you can simulate real-world load spikes (e.g. jumping from 700 to 2,450+ RPS), tune node error rates, and observe cascading HTTP 500 error packets propagating into Dead Letter Queues (DLQ) in real time.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. Infrastructure as Code (IaC) &amp;amp; Spec Export
&lt;/h4&gt;

&lt;p&gt;Your architecture is never locked into the browser. With one click, export directly to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Terraform (IaC)&lt;/strong&gt; scaffolding&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docker Compose&lt;/strong&gt; network definitions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub-flavored Mermaid Markdown&lt;/strong&gt; documentation&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  4. Zero-Cost Instant State Sharing
&lt;/h4&gt;

&lt;p&gt;The entire system topology, node states, and simulation parameters compress directly into a shareable URL hash. You can send a link to your colleagues on Slack, and they will load your exact interactive simulation with zero database friction.&lt;/p&gt;

&lt;h4&gt;
  
  
  5. Local-First &amp;amp; Offline Ready
&lt;/h4&gt;

&lt;p&gt;Runs 100% in your browser. Even without an AI API key or cloud database, built-in neural rules and local storage keep everything completely functional offline.&lt;/p&gt;




&lt;h3&gt;
  
  
  Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework:&lt;/strong&gt; React + TypeScript + Vite&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Styling:&lt;/strong&gt; Tailwind CSS (Engineered "Control Room" dark archetype, WCAG AA compliant)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Math &amp;amp; Animation:&lt;/strong&gt; Native SVG + &lt;code&gt;requestAnimationFrame&lt;/code&gt; cubic Bézier calculus&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;State &amp;amp; Testing:&lt;/strong&gt; Zustand, Vitest (TDD regression test suite)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; MIT Open Source&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  I'd Love Your Feedback!
&lt;/h3&gt;

&lt;p&gt;GraphFlow is 100% free and open-source. What distributed patterns or failure modes would you like to see modeled next?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🚀 &lt;strong&gt;Try it live:&lt;/strong&gt; &lt;a href="https://graph-flow-virid.vercel.app" rel="noopener noreferrer"&gt;graph-flow-virid.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;⭐ &lt;strong&gt;Star the project on GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Hanubaki/GraphFlow" rel="noopener noreferrer"&gt;github.com/Hanubaki/GraphFlow&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading, and happy designing!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
