Skip to content

Bug: Transition arrow loose connection point #256

Open

Description

@olegdunkan

Description

Steps to reproduce:

  1. Open blank machine.
  2. Add state A.
  3. Add child state A1 to A.
  4. Add state B.
  5. Add transition (A->B) from A to B .
  6. Add child state A2 to A.
  7. Try to move A2 inside A to expand area. You will see that connection point of A->B transition don't move.

Expected result

Connection point of A->B transition have to move.

Actual result

Connection point of A->B transition freeze.

Which browsers are you seeing the problem on?

No response

Additional details

No response

Activity

  1. davidkpiano commented on Feb 12, 2026

    @davidkpiano
    Member

    Is this what you're seeing?

    Image

    If so, it's technically "working as designed" (we don't push neighboring edges/nodes when the state expands) but I can understand why it's visually jarring.

  2. olegdunkan commented on Feb 13, 2026

    @olegdunkan
    Author

    @davidkpiano yes, I am.

    f so, it's technically "working as designed" (we don't push neighboring edges/nodes when the state expands) but I can understand why it's visually jarring.

    It is unusual.
    @davidkpiano what is rational behind this behaviour?

  3. davidkpiano commented on Feb 14, 2026

    @davidkpiano
    Member

    @olegdunkan The rationale is that when you specifically position an event or state, we respect those positions and don't automatically re-position them if neighboring entities change. It was either that or automatically reposition, which can:

    • be ambiguous (e.g. if in corner, move right or down or diagonally etc.?)
    • be frustrating if you wanted the entity in a specific position and it was moved
    • introduce a lot more complexity to "remember" where it was in case of expansion/contraction of entities etc.
  4. olegdunkan commented on Feb 14, 2026

    @olegdunkan
    Author

    @davidkpiano I agree with respect the state, reposition of state is not evident and it is better to keep it in the same place. But what I need is don't loose connection point of one end of transition's arrow. I supposed that the studio can modify the curve of arrow to accommodate new connection point's position.

  5. davidkpiano commented on Feb 14, 2026

    @davidkpiano
    Member

    Okay, something like this?

    (This is the new upcoming visualizer/editor btw:)

    CleanShot.2026-02-14.at.10.31.59.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions