Is it Possible of C...
Clear all

Is it Possible of Calling a SubGraph  


New Member
Joined: 1 year ago
Posts: 2
21/09/2020 1:27 pm  

Hi, I have seen the Subgraph Tutorial. There was build a 'Debug-Node' and then transferred this node to a subgraph. The subgraph can be edited by clicking on the "Subgraph Node" and is be called by the flow to 'Subgraph Node'.

What's about:

- Building a new 'file' as subgraph, not with the 'OnStart Node' but with 'OnEnterGraph' and 'ExitGraph'. How can this file and this subgraph be called?

- Is there any way of calling a subgraph, existing in a graph, at different places of this graph structure. Is there a calling node? Or, is there a place from where the subgraph can be dragged or copied into a different position of the graph? 

- Is it possible of using a subgraph from one graph (A) in an second graph (B)? I beleave this is the question if a function is possible.


Member Admin
Joined: 2 years ago
Posts: 13
22/09/2020 8:27 am  


I'm not quite sure if I did understood all of your questions correctly. So I try my best 🙂

A sub-graph can only exist inside of a graph. OnEnter and ExitGraph nodes can only be used inside of a sub-graph.
OnEnter is similar to the OnStart node but gets only called when the "flow" executes and "enter" the sub-graph. The exit graph "exits" the sub-graph and stops all executing nodes inside of it. It also moves the flow back to it's parent graph.

A sub-graph gets active as soon as the parent flow executes it. For example you can create an OnStart node in the "root" graph and connect it to a sub-graph. Then the sub-graph gets called directly at start. You can of course connect whatever node you want.

What you can do is using the global event system to execute a sub-graph from another graph. Simply use the CallEvent and EventListener nodes with an Eventboard.
You can of course just copy the sub-graph node and paste it to the other graph to create a copy of it.


Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Consent to display content from Youtube
Consent to display content from Vimeo
Google Maps
Consent to display content from Google