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

Generalized inputs/outputs #9

Open
senritsu opened this issue Mar 21, 2016 · 0 comments
Open

Generalized inputs/outputs #9

senritsu opened this issue Mar 21, 2016 · 0 comments

Comments

@senritsu
Copy link
Contributor

Currently nodes can only be linked to other nodes.

For more complex behaviours it might be interesting to populate properties from inputs that can be linked to outputs of other nodes. This would enable applications like making a graph similar to visual scripting tools or shader editors.

Effectively this would require generalization of links between nodes/properties to take the Type of the input/output into account, to limit what can be connected to it. Outputs of a subclass of GraphNode could be connected like it is now, outputs of different types can be connected to inputs of a matching (or compatible) type.

This would also allow restrictions to what kind of nodes can follow a node in the graph, for example a "Choose response" node in a dialogue could be restricted to only be followed by a "Show response text" node.

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

1 participant