09824195c949ef9dabbc747f951632579cc49027
Key changes: Component Options now has an “Edit Icon…” button instead of direct shape/color fields. Icon editor supports:Rectangles with configurable corner radius Circles and ellipses Lines Triangles Text Movable/selectable shapes Shape context menus Line style and width Solid or transparent fill Stroke and fill colours through Qt’s colour picker Editable shape dimensions Deleting selected shapes Input anchors are green and output anchors red; both can be dragged around the icon. Icons use a 120×80 vector coordinate system and are stored as editable elements in document JSON. Components render their vector icons directly in the workspace. Library and document trees display 16×16 icon previews. Added a Camera toolbar:Zoom In Zoom Out Center Mouse-wheel zoom works directly over the workspace. Icon changes and port positions support undo/redo.
Description
Bond Graph library for (Open)Modelica
Languages
Python
88.5%
Modelica
11.4%