Skip to content

New: MixinExtras Flow Graph - #2489

Merged
Earthcomputer merged 2 commits into
minecraft-dev:devfrom
LlamaLad7:feature/flow-graph
Jul 4, 2025
Merged

New: MixinExtras Flow Graph#2489
Earthcomputer merged 2 commits into
minecraft-dev:devfrom
LlamaLad7:feature/flow-graph

Conversation

@LlamaLad7

Copy link
Copy Markdown
Contributor

This allows viewing a diagram of the MixinExtras Expression flow at a particular point by triggering a right click action.
You can right click somewhere in the target code, or you can right click on a mixin method string.
The new tool window only appears when you have active diagrams open so it won't get in the way.
image

This is intended to be useful to debug Expressions so you can see when you're missing casts or whatever else.

Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowDiagram.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowDiagram.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowGraph.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowDiagram.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowGraph.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowStrings.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowStrings.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowStrings.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/MEFlowWindowService.kt Outdated
Comment thread src/main/kotlin/platform/mixin/expression/gui/MEShowFlowAction.kt Outdated
@LlamaLad7
LlamaLad7 force-pushed the feature/flow-graph branch from 362f1af to 3f03d82 Compare July 3, 2025 19:11
@LlamaLad7
LlamaLad7 requested a review from Earthcomputer July 3, 2025 19:11
@LlamaLad7
LlamaLad7 force-pushed the feature/flow-graph branch from 3f03d82 to d4f76d9 Compare July 3, 2025 19:40
@LlamaLad7
LlamaLad7 force-pushed the feature/flow-graph branch from d4f76d9 to 28851ec Compare July 3, 2025 20:23
Comment thread src/main/kotlin/platform/mixin/expression/gui/FlowStrings.kt
@Earthcomputer
Earthcomputer merged commit 44e2710 into minecraft-dev:dev Jul 4, 2025
4 checks passed
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.

2 participants