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>
6 lines
307 B
XML
6 lines
307 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<path d="M22 45 L50 20 L78 45 L78 82 L22 82 Z" fill="#efebe9" stroke="#5d4037" stroke-width="4"/>
|
|
<rect x="42" y="60" width="16" height="22" fill="#5d4037"/>
|
|
<line x1="6" y1="55" x2="22" y2="55" stroke="#5d4037" stroke-width="5"/>
|
|
</svg>
|