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
270 B
XML
6 lines
270 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<line x1="50" y1="8" x2="50" y2="92" stroke="#546e7a" stroke-width="6"/>
|
|
<line x1="8" y1="50" x2="92" y2="50" stroke="#546e7a" stroke-width="6"/>
|
|
<circle cx="50" cy="50" r="12" fill="#546e7a"/>
|
|
</svg>
|