Combinator Graph Generator

by sparr

Generates a graphviz diagram for the selected combinator circuits.

Content
2 years ago
0.14 - 1.1
349
Circuit network

b Error: attempt to index field 'parameters'

3 years ago
(updated 3 years ago)

Error while trying to make graph with fCPU (https://mods.factorio.com/mod/fcpu) mod.

Error while running event combinatorgraph::on_player_selected_area (ID 49)
__combinatorgraph__/control.lua:3: attempt to index field 'parameters' (a nil value)
stack traceback:
    __combinatorgraph__/control.lua:3: in function 'CCDataLabels'
    __combinatorgraph__/control.lua:170: in function 'EntityLabel'
    __combinatorgraph__/control.lua:307: in function 'GraphCombinators'
    __combinatorgraph__/control.lua:338: in function <__combinatorgraph__/control.lua:336>

Here is a blueprint:

0eNqtWttu40YM/Re91lkMybnRQJ/6GUVgOLaSCIhlQ5aDBoH/vZTdepjE203NedgsJEtHw+E5w8vMe/Pwcmh3Q9ePzfy96Vbbft/M/3xv9t1Tv3yZ7o1vu7aZN93YbppZ0y8309XjandojrOm69ftX80cjrNfvrJuV926He5W281D1y/H7aAA8Hg/a9p+7MauPQ/gdPG26A+bh3aQL3z89KzZbffy8LafvicAdxBmzZv8Tyyo625oV+dfcdaIUeOwfVk8tM/L106+K68sh2583rRjt1rIz+sT1H764bEb9uN0bz8up0lxs2bfTo98vLfdtcPy/IXmt+Z4PH2lP3/0hIPTn6Fda2M6uSJ5shtWh248XcLx/nicZu+TvXixt9uIqaNM3HcMv2bqY/cir//Era/dMB7kzuVz5yfuXHNCO0zm+hR/4envoNxF5Mwu5qC8fisYZMg+u+jhAkYGsMgekkv+AuZvB0sOOGUkdwELN4NlGRNEiOmCFW8fGAMH8OjoApZM808YKecLWDZMGXmO3kEZGd8O5sgFIOcUZ53BzoCYHMcyNLhdAuATU4KcFBqaaRsUGtXkLXgjcT2qoYWazIVYk7qQanIXclXyck3yokEKYqf8c5kLGtQkL2JN8uLtUsjogSmzClSGeMA5xJyiIi9apCBTFkOiEhHQEhIIKUSBLGgGKUTyEQPpAG8JCpEhOudLUEY2it6HXLxAziL6nLPzx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zv
3 years ago

This crash is fixed in the latest version of this mod. I'll see about adding explicit support for fCPU and LuaCombinators and such soon!

3 years ago
(updated 3 years ago)

Thank you! It will be great extension if fCPU could work together with Combinator Graph Generator.
Also in upcoming fCPU update there will be hidden combinators. So, it may be needed to filter-out such hidden combinators from graph?

3 years ago
(updated 3 years ago)

.

New response