Gunnar

mikronova/funnel-core

.nornir/assets/plandag-diff.svg

<svg viewBox="0 0 560 200" width="560" height="200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Plan-DAG revision diff: n-004 added (green), the n-002 to n-003 edge removed (red dashed), n-001 changed (amber, status+title); the rest unchanged">
  <defs>
    <marker id="ad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
      <path d="M 0 0 L 10 5 L 0 10 z" fill="#b8b8c4"/>
    </marker>
    <marker id="ag" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
      <path d="M 0 0 L 10 5 L 0 10 z" fill="#1f8a4c"/>
    </marker>
    <marker id="ar" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
      <path d="M 0 0 L 10 5 L 0 10 z" fill="#c0392b"/>
    </marker>
  </defs>

  <!-- mother edges (unchanged, dimmed) -->
  <g stroke="#b8b8c4" stroke-width="1.1" fill="none">
    <line x1="112" y1="92" x2="176" y2="30" marker-end="url(#ad)"/>
    <line x1="112" y1="92" x2="176" y2="72" marker-end="url(#ad)"/>
    <line x1="112" y1="92" x2="176" y2="114" marker-end="url(#ad)"/>
  </g>
  <!-- added mother edge -> n-004 (green) -->
  <line x1="112" y1="92" x2="176" y2="156" stroke="#1f8a4c" stroke-width="1.6" fill="none" marker-end="url(#ag)"/>
  <!-- kept dep edge n-001 -> n-002 (dimmed) -->
  <path d="M 224 30 C 260 30 260 72 224 72" stroke="#8a8a99" stroke-width="1.2" fill="none" marker-end="url(#ad)"/>
  <!-- removed dep edge n-002 -> n-003 (red, dashed) -->
  <path d="M 224 72 C 262 72 262 114 224 114" stroke="#c0392b" stroke-width="1.5" stroke-dasharray="5 3" fill="none" marker-end="url(#ar)"/>

  <g font-family="ui-sans-serif, system-ui, sans-serif" font-size="12.5" text-anchor="middle">
    <!-- mother (unchanged) -->
    <rect x="12" y="77" width="100" height="30" rx="6" fill="#f2f2f5" stroke="#8a8a99" stroke-width="1"/>
    <text x="62" y="96" fill="#000000">i-001</text>
    <!-- n-001 changed (amber) -->
    <rect x="132" y="15" width="92" height="30" rx="6" fill="#fbf3e0" stroke="#d9a441" stroke-width="1.3"/>
    <text x="178" y="34" fill="#000000">n-001</text>
    <text x="270" y="34" fill="#b6862d" font-size="10" text-anchor="start">changed: title, status</text>
    <!-- n-002 changed-deps (amber) -->
    <rect x="132" y="57" width="92" height="30" rx="6" fill="#fbf3e0" stroke="#d9a441" stroke-width="1.3"/>
    <text x="178" y="76" fill="#000000">n-002</text>
    <text x="270" y="76" fill="#b6862d" font-size="10" text-anchor="start">changed: deps</text>
    <!-- n-003 changed-deps (amber) -->
    <rect x="132" y="99" width="92" height="30" rx="6" fill="#fbf3e0" stroke="#d9a441" stroke-width="1.3"/>
    <text x="178" y="118" fill="#000000">n-003</text>
    <text x="270" y="118" fill="#b6862d" font-size="10" text-anchor="start">changed: deps</text>
    <!-- n-004 added (green) -->
    <rect x="132" y="141" width="92" height="30" rx="6" fill="#e8f6ee" stroke="#1f8a4c" stroke-width="1.3"/>
    <text x="178" y="160" fill="#000000">n-004</text>
    <text x="270" y="160" fill="#1f8a4c" font-size="10" text-anchor="start">added node + edge</text>
  </g>

  <text x="280" y="192" font-family="ui-sans-serif, system-ui, sans-serif" font-size="10" fill="#6b6b80" text-anchor="middle">diff(&#38;baseline): added n-004 (&#38; edge), removed n-002&#8594;n-003, changed n-001/n-002/n-003</text>
</svg>