KirkMcDonald / kirkmcdonald.github.io

Simple web-based calculator for the game Factorio.
Apache License 2.0
539 stars 148 forks source link

[Feature Request] Add a tree view option #245

Open K4LCIFER opened 1 year ago

K4LCIFER commented 1 year ago

Currently All the ingredients are listed together. This can make it difficult to see the information for "Sub-ingredients".

For example: image

In this image, I want to be able to see the breakdown for the green circuits, as I want to see how many copper coil assemblers I will need. The workaround would currently be to open the tool in a new tab with the required green circuits specified.

A solution to this would be to give an option to switch to a sort of tree heirarchy view that woud look something like this:

Utility Science Pack
|-- Low Density Structure
|   |-- Steel
|   |   |-- Iron Plate
|   |   |   |-- Iron Ore
|   |-- Copper Plate
|   |   |-- Copper Ore
|   |-- Plastic Bar
|   |   |-- Petroleum Gas
|   |   |   |-- Oil
|   |   |-- Coal
... etc

(Of course with the information regarding how many machines and amount produced etc.)