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
289 B
XML
6 lines
289 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<circle cx="46" cy="50" r="38" fill="#e8f5e9" stroke="#388e3c" stroke-width="4"/>
|
|
<path d="M48 18 L30 54 L46 54 L40 82 L64 44 L48 44 Z" fill="#388e3c"/>
|
|
<rect x="84" y="45" width="14" height="10" fill="#388e3c"/>
|
|
</svg>
|