Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different calculator output views — List, graph, tree, …? #10

Open
1 of 11 tasks
Martin-Pitt opened this issue Aug 11, 2023 · 0 comments
Open
1 of 11 tasks

Different calculator output views — List, graph, tree, …? #10

Martin-Pitt opened this issue Aug 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Martin-Pitt
Copy link
Owner

Martin-Pitt commented Aug 11, 2023

It is worth trying out different ways of rendering the calculator output.

Factoriolab for example has List, Flow and Data views. The Flow is neat but well, an unreadable mess to be honest, might be worth implementing anyway and trying out different options, such as a more regular structured grid, tree, row or columnar flow layouts. Would be neat to try a Sankey Flow diagram.

DSP Ratios has something like a List view currently, although it doesn't feature the dotted lines. I did experiment with it early on, but might be worth bringing back as an alternative.

Work:

  • Implement new architecture to separate out calculation phases out
    • SolverTree — Initial phase, create a tree graph of recipe with full possible production chain from unlocked recipes
    • RecipeTree — Filtered down SolverTree which picks from user preferred alternative recipes
    • CalcTree — Final step to create a usable tree graph for rendering visually. This phase calculates throughput w/ proliferation
  • Views — How to render the calculator, a simple compact segmented control to select the view
  • Density — How dense the UI should be, dense/compact/cosy. Like dark mode, instead of tweaking numbers, take into account the desired user experience. Give each view a different way of handling this.
  • Implement rendering views

Inspirations:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant