Skip to content

fix(context-pads): place inclusive gateway toggle pads on distinct fl…#275

Open
loremipsumowski wants to merge 1 commit into
bpmn-io:mainfrom
loremipsumowski:fix-inclusive-gateway-context-pads
Open

fix(context-pads): place inclusive gateway toggle pads on distinct fl…#275
loremipsumowski wants to merge 1 commit into
bpmn-io:mainfrom
loremipsumowski:fix-inclusive-gateway-context-pads

Conversation

@loremipsumowski

Copy link
Copy Markdown

Closes #274

What

Toggle pads for an inclusive gateway's outgoing sequence flows were all anchored at the same corner, so with several outgoing flows the buttons piled up near the gateway and could not be targeted individually.

How

Each pad is now anchored at the point where its flow first separates from all sibling flows, so every button sits on a part of the flow that is unambiguously its own. Falls back to a fixed, per-flow-staggered distance when flows never diverge.

Before

2026-07-07_14h54_04

After

2026-07-07_15h17_24

@loremipsumowski
loremipsumowski requested a review from a team July 7, 2026 13:18
@CLAassistant

CLAassistant commented Jul 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

…ow parts

Toggle pads for an inclusive gateway's outgoing sequence flows were all
anchored at the top-left corner of each flow's bounding box with a fixed
offset, so with multiple outgoing flows the buttons piled up near the
gateway and could not be targeted individually.

Gateways commonly route several outgoing flows over a shared trunk before
they branch off to their targets. Anchor each pad at the point where its
flow first separates from all sibling flows (falling back to a fixed,
per-flow-staggered distance when flows never diverge), so every button
sits on a part of the flow that is unambiguously its own. The absolute
anchor is converted to a bbox-relative overlay position and folded into
the overlay hash, so moving a flow rebuilds the pad at the new spot.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@loremipsumowski
loremipsumowski force-pushed the fix-inclusive-gateway-context-pads branch from 3185b7c to bc8ef74 Compare July 8, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inclusive gateway toggle pads overlap with multiple outgoing flows

2 participants