DanielKote / Foreman2

Visual planning tool for Factorio
Other
162 stars 16 forks source link

bug: Dynamic Link Width not having the correct width in some (input) cases #22

Closed xor50 closed 1 year ago

xor50 commented 2 years ago

The option of Dynamic Link Width is very cool and useful, but sadly there seems to be bug in some cases, which is very misleading if you don't know about and check the numbers yourself.

red (Scrap from Space Exploration): What goes IN at the top is about 4,5 most of which comes from the very bottom (3). Yet all those lines have the same width. green (Cosmic Water from Space Exploration): What goes IN at the pass-through node is about 31 of which almost everything (about 30) comes from the left. Yet same width as the line from the bottom. pink (Contaminated Cosmic Water from Space Exploration): What goes IN in the middle is about 30 of which almost everything (about 30) comes from the bottom. Yet those lines have the same width.

I think it's basically the same problem in all these cases, somehow the input line width is always scaled to the biggest input line width and not to the real value. For output it seems to work correctly.

Expected behavior: For example in the pink case, the left line should be very thin and the right line should be as big as it's now.

image