Skip to content

Rotation of connectors #132

Description

@DagBruck

Proposal: introduce a rotation attribute for connector geometry, cf component geometry. The angle is specified counter-clockwise in degrees. Examples:

<ssd:ElementGeometry x1="20" x2="40" y1="-32" y2="-12" rotation="180" />
<ssd:ConnectorGeometry x="0.5" y="0" rotation="-90" />

The motivation is

  • Rotation makes sense as soon as we deviate from the most basic layout of components.
  • It cannot easily be compensated for by "smart" automatic layout.
  • It is needed to map e.g. Modelica models to SSP without loss of layout information.
  • It is already supported by e.g. Dymola.

The counter argument is

  • Connectors can be automatically rotated based on kind and position on the component with reasonable results.

Estimated complexity

  • Low.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions