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>
7 lines
404 B
XML
7 lines
404 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<rect x="6" y="20" width="70" height="60" rx="6" fill="#e3f2fd" stroke="#1565c0" stroke-width="4"/>
|
|
<path d="M6 55 q17 -12 35 0 t35 0" fill="none" stroke="#1565c0" stroke-width="4"/>
|
|
<path d="M6 68 q17 -12 35 0 t35 0" fill="none" stroke="#1565c0" stroke-width="3"/>
|
|
<rect x="76" y="45" width="18" height="10" fill="#1565c0"/>
|
|
</svg>
|