Skip to content

Filter graphs on selection#2741

Open
Skybladev2 wants to merge 8 commits intopyfa-org:masterfrom
Skybladev2:focus-graph
Open

Filter graphs on selection#2741
Skybladev2 wants to merge 8 commits intopyfa-org:masterfrom
Skybladev2:focus-graph

Conversation

@Skybladev2
Copy link
Copy Markdown

Problem

Showing multiple fits in Graph window becomes a mess quickly even for trivial cases when you want to compare how 2 fits perform against each other. This produces N*M graphs which are hard to read even with with color keys.

image

Solution

Take selections in attacker and target lists into account so only graphs for selected fits are displayed.

If no fit is selected the behavior is unchanged.

Examples:

Selecting attackers

image image

Selecting targets

image image

Selecting attackers and targets

image

Selecting attackers and targets with reverse matchups

image

When multiple fits are listed, only the active tab normally receives a full local
recalc; other fits keep stale attributes for incoming remote effects. Run recalc
for each unique fit in the graph before drawing so speeds and DPS match any tab.

Made-with: Cursor
Remove projection engine changes from this branch so it only carries graph behavior updates and remains cleanly composable with fix-projected-on-tab-switch.

Made-with: Cursor
Wrap sequential graph recalc loop so projection victims are not marked stale mid-batch, preventing order-dependent mutual projection errors.

Made-with: Cursor
Rename temporary variables in expand_reverse_filtered_matchups to make source/target reversal intent explicit and reduce future confusion.

Made-with: Cursor
Make reverse matchup expansion rely on graph wrapper type checks instead of direct item class checks so the checkbox consistently adds reverse pairs.

Made-with: Cursor
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.

1 participant