Add UI-agnostic model layer: typed grouped properties (string/int/float/ bool/enum/color/catalogue item(s)/value list), catalogue registry, port relations with color schemes and compatibility rules, ports, node/edge models, and DiagramDocument with change signals and JSON round-trip. Include a starter node library (source/tank/pump/valve/junction/consumer/ transformer) with matching SVG symbols, plus model+document tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8 lines
529 B
XML
8 lines
529 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<rect x="20" y="10" width="60" height="80" rx="10" fill="#e1f5fe" stroke="#0277bd" stroke-width="4"/>
|
|
<rect x="20" y="55" width="60" height="35" rx="6" fill="#4fc3f7" stroke="#0277bd" stroke-width="0"/>
|
|
<rect x="20" y="10" width="60" height="80" rx="10" fill="none" stroke="#0277bd" stroke-width="4"/>
|
|
<line x1="35" y1="6" x2="35" y2="10" stroke="#0277bd" stroke-width="5"/>
|
|
<line x1="65" y1="90" x2="65" y2="96" stroke="#0277bd" stroke-width="5"/>
|
|
</svg>
|