Page 1 of 1

production flow graph tool

Posted: Sat Dec 13, 2014 2:03 am
by FeepingCreature
Hi, I made a thing!

http://feephome.no-ip.org/~feep/factoprod/

You can click on target items and it'll show you the requirements to create them in a graph, left to right. Select multiple target items and get a combined graph.

This might be useful for planning assembling machine layouts.

Graphs are largely based on sparr's tools (Thank you!): https://github.com/sparr/factorio-data-extract

Simple example:
Image

Enjoy!

Re: production flow graph tool

Posted: Sat Dec 13, 2014 3:22 pm
by ray4ever
I like it!

But to be even more usefull I suggest to add the amount of items needed and the basic production speed of that item.

Re: production flow graph tool

Posted: Sat Dec 13, 2014 5:31 pm
by Xterminator
ray4ever wrote:I like it!

But to be even more usefull I suggest to add the amount of items needed and the basic production speed of that item.
Completely agree! Really like it, but adding the cost and production speed would help immensely.

Re: production flow graph tool

Posted: Sun Dec 14, 2014 4:55 am
by immibis
If you select petroleum-gas, why does it use the light oil cracking recipe but not the heavy oil cracking recipe as well?

Re: production flow graph tool

Posted: Sun Dec 14, 2014 12:50 pm
by FeepingCreature
immibis wrote:If you select petroleum-gas, why does it use the light oil cracking recipe but not the heavy oil cracking recipe as well?
Ah, sorry about that, the code was aborting at the first recipe producing an output. I've changed it to check every recipe; it should show heavy-oil-cracking as well now.

Also: regarding showing amounts consumed/produced and speed: sure, but I'm not sure what amounts I should show in cases where multiple recipes can provide an item. First one? Fastest one?

Re: production flow graph tool

Posted: Tue Dec 16, 2014 2:37 am
by Nova
I can't reach the site. :(

Re: production flow graph tool

Posted: Tue Dec 16, 2014 9:41 am
by FeepingCreature
I apologize for that! I'd messed up my port forwarding when I rebooted my router and server, somehow, and didn't notice for a while. It should be back now.

Re: production flow graph tool

Posted: Wed Dec 17, 2014 8:54 am
by Rodhern
Neat!

Re: production flow graph tool

Posted: Thu Dec 18, 2014 3:38 pm
by pf_moore
Very nice! I can see myself using this a lot.

I often find that I want the "opposite" view when planning a factory, as well - something that lets me see what's built out of (for example) batteries. That helps me plan what needs to end up near the battery production facility. If you're looking for another project, that would be a nice addition to your tool :)

Re: production flow graph tool

Posted: Thu Dec 18, 2014 4:44 pm
by katyal
pf_moore wrote:I often find that I want the "opposite" view when planning a factory, as well - something that lets me see what's built out of (for example) batteries. That helps me plan what needs to end up near the battery production facility.
I think I might use something like that more than the original tool posted in the OP

Re: production flow graph tool

Posted: Fri Dec 19, 2014 5:08 am
by plong999
Hi,

Nice work. Thank you !