MinimalWire - Clean Power Networks


MinimalWire is a quality of life mod that eliminates spaghetti and keeps your factory wires clean by enforcing efficient connections, using Kruskal's algorithm to produce a minimum spanning tree each time a power pole is added to the network. Check out my other mod for a much more relaxed approach to this idea: OneWire

Tweaks
9 hours ago
2.0
318
Circuit network Power

Changelog

Version: 1.0.6
Date: 2025-01-04
  Changes:
    - Additions to debug mode.
  Bugfixes:
    - Removed unnecessary adding of existing connections.
Version: 1.0.5
Date: 2024-12-31
  Major Features:
    - Created tie-breaker algorithm to make MST generation deterministic (which looks cleaner).
  Changes:
    - Changed default max poles in radius to 30 (was 10).
Version: 1.0.4
Date: 2024-12-30
  Major Features:
    - Various performance optimizations.
Version: 1.0.3
Date: 2024-12-30
  Bugfixes:
    - Investigated potential complex memory leak (ongoing).
Version: 1.0.2
Date: 2024-12-30
  Bugfixes:
    - Delayed MST regeneration by one tick to overwrite factorios default wire generation when removing poles.
Version: 1.0.1
Date: 2024-12-30
  Bugfixes:
    - Fixed some edge cases with the removal of poles where the MST would be generated wrong.
Version: 1.0.0
Date: 2024-12-30
  Major Features:
    - Fixed UPS issues where the entire network was generated in one tick.
    - Added a new scheduling system to generate the network over multiple ticks.
    - Added settings for OPS, Radius, and Full Network generation.
Version: 0.0.1
Date: 2024-12-29
  Major Features:
    - Initial release.