dbca41640f2c21ea20dfb9b6a394ec2bad7500cf
Right-click blocks in the graph, Document tree, or Libraries tree and choose “Port Options…”. Unified port list with:Add/remove port Name Type (Signal currently) Input/output orientation New ports start at (0, 0) in the icon editor. Connected ports cannot be removed, reoriented, or changed incompatibly. Added a PortType registry; connections require matching port types. Removed/hid the separate Add Input and Add Output workspace tools. Library port changes are written back to the library JSON. Added independent graph and icon grid-size settings. Components, interface terminals, icon shapes, resize handles, and icon ports snap to their corresponding grid. Icon canvases and component hitboxes are now fixed at 128×128. Selected icon shapes show a bottom-right resize handle. Circles preserve equal width and height while resizing. Shapes and ports are constrained to the icon hitbox. Fixed the icon-editor crash and grid behavior. Renamed the resize handle’s shape attribute, which was overriding Qt’s required shape() method. Icon shapes, resize handles, and port anchors now snap while dragging. Graph blocks and interface terminals also snap while dragging. Replaced the nearly invisible dotted graph grid with higher-contrast grid lines. Retained final release-time snapping as a safety check. Python compilation and diff validation pass.
Description
Bond Graph library for (Open)Modelica
Languages
Python
88.5%
Modelica
11.4%