Skip to content

Edit the node and add Dynamic Output connection number. #900

Open

Description

@Abvani-0204

Hi @jerosoler , First of all, Thanks So much for this wonderful library.

I am wondering if there is any method which can be used to edit any node and change the number of its output connection dynamically based upon my condition.

Activity

  1. jerosoler commented on Sep 17, 2024

    @jerosoler
    Owner

    Hi,

    Thanks.

    You can use the following methods: addNodeInput, addNodeOutput, removeNodeInput, removeNodeOutput.

    Here is more information on how to apply: https://github.com/jerosoler/Drawflow#methods

    You may have to remove the connections first if they exist. They can be deleted with removeSingleConnection

    You can get the node data with getNodeFromId.

    Regards, Jero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions