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

Add support for isolated sub-blocks #29

Open
riking opened this issue May 8, 2020 · 2 comments
Open

Add support for isolated sub-blocks #29

riking opened this issue May 8, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@riking
Copy link

riking commented May 8, 2020

The planner's "Automatically create missing nodes" feature assumes all products are available globally. This is not always true - for example, it is a common feature of blue circuit builds to include local green circuit production, or for copper wire for red circuits to be isolated from copper wire for green circuits.

Allow the creation of isolated sub-graphs where the outputs and inputs are defined by the user, and intermediate nodes within are not shared with the main graph or other sub-graphs.

This style of graph is possible to create manually, but the auto-layout will always destroy this kind of graph.

@Rybadour
Copy link
Owner

Rybadour commented May 9, 2020

Good point! I think I'd want the feature to be define as the "automatically create missing nodes" button to not connect an input to another node if it already has an input. That way you'd be able to manually create a green circuit with it's own copper wire and have it remain unconnected to the red circuit.

Also it should be much easier to disconnect nodes. At the time of writing I have no idea how to do that.

@riking
Copy link
Author

riking commented May 9, 2020

Either right clicking the line or right clicking the input / output box, which could provide a way to select the connection to delete (by flow quantity? by type of input provider? by highlighting lines?)

The "sub-graph" phrasing is mostly for layout hints.

@Rybadour Rybadour added the enhancement New feature or request label May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants