Nesting/collapsing/subgraphs?

Forums 💬 FlowCanvas ⚙️ Support Nesting/collapsing/subgraphs?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21842
    randomuser
    Participant

      Hi,
      first time user here, maybe i just haven’t found the specific buttons to press, but i can’t see how i would create sub-graphs or how i can collapse groups or even have functions exist in a separate view/graph (to not pollute the main graph and easier navigation).
      Basically like unreal’s blueprints or blenders foldable node groups (where in/out ports are exposed when collapsed).
      is there any mechanism like that and how do i activate it?

      #21845
      Gavalakis
      Keymaster

        Hello and welcome,

        Sub-Graphs are basically what Macros are. Macros are a completely separate flowScript with input and outputs, which can be re-used any number of time on any flowScript. To create a Macro, you can do so from within the right click menu in a flowScript (for adding nodes) and with the “Macros/Create New Macro” option.
        Macros are created as assets. To re-use a created macro, you can either drag and drop the Macro asset from the “Project” panel into a flowScript, or add an existing Macro, from within the same right click menu within a flowScript. All existing Macros in the project will appear under the “Macros” menu category.

        Regarding Node Groups and Functions, right now they are not foldable, but folding Node Groups is something I plan to implement in a future version.

        Please let me know if the above works for you or if you need more details on Macros.
        Thank you.

        #21844
        randomuser
        Participant

          Thanks, that sounds like something atleast. Although it would be more efficient to be able to collapse groups or separate out functions. If you plan on implementing something like that, the blender node group approach would be a really good way to go about it.

          #21843
          Gavalakis
          Keymaster

            Thanks for the follow up. I will definitely check out how blender does it 🙂
            Thanks.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.