suggestion: Value Switch Node

FlowCanvas Forums Support suggestion: Value Switch Node

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #541
    nicoyiqi
    Participant

    hi, this is my custom node design for get the desired value by changing the int value.

    value-switch-node

    value-switch-node-script

    But it has limitations,it can not increase or decrease the number of input value port.

    add-port

    can you add a new node like the node above with add and remove value port function? thanks.

    Attachments:
    You must be logged in to view attached files.
    #549
    Gavalakis
    Keymaster

    Hello,

    There is a limitation of creating nodes with multiple ports when deriving SimplexNodes like PureFunction and right now can only be achieved by creating a full nodes thus deriving from FlowNode and handling the port registration manually. Here is a node that does what you are after:

    I am already working towards making multiple ports possible when creating nodes by deriving PureFunction, CallableAction etc nodes, for simplicity.

    Let me know if that works for you.
    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

    #550
    nicoyiqi
    Participant

    thanks!Gavalakis

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