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>
9 lines
512 B
XML
9 lines
512 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<circle cx="50" cy="50" r="34" fill="#e0f7fa" stroke="#00838f" stroke-width="4"/>
|
|
<path d="M50 50 L50 20 A30 30 0 0 1 76 65 Z" fill="#00838f" opacity="0.85"/>
|
|
<path d="M50 50 L24 65 A30 30 0 0 1 50 20 Z" fill="#00838f" opacity="0.55"/>
|
|
<circle cx="50" cy="50" r="6" fill="#004d55"/>
|
|
<line x1="6" y1="50" x2="16" y2="50" stroke="#00838f" stroke-width="5"/>
|
|
<line x1="84" y1="50" x2="94" y2="50" stroke="#00838f" stroke-width="5"/>
|
|
</svg>
|