Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto graph structuring #21

Open
antrobot1234 opened this issue Nov 30, 2021 · 2 comments
Open

auto graph structuring #21

antrobot1234 opened this issue Nov 30, 2021 · 2 comments

Comments

@antrobot1234
Copy link

I know this is a bit out there, but let's face it, sometimes the graphs you create end up in a spaghettis mess that rivals the factory it intends to replace. I think it would be extremely handy if there was some utility function I could use to automatically reformat my graph into something more sensibly lain out. As for sensible layouts, it could take a page from the kirkmcdonald calculator and use a sankey diagram method, or it could be it's own sorting system.

@angrmgmt
Copy link

angrmgmt commented Dec 9, 2021

This is a pretty hard problem to solve, actually. Not impossible, though! See Fluffy's Research Tree mod for RimWorld.

For a good jumping off point for researching algorithms: https://en.wikipedia.org/wiki/Layered_graph_drawing

@NotRexButCaesar
Copy link

If this was added, it would also be nice to have a way to automatically place/connect the ingredient nodes for a recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants