Coder Social home page Coder Social logo

Comments (4)

parthsavaliya1 avatar parthsavaliya1 commented on May 25, 2024

@jerosoler Can you please help here?

from drawflow.

jerosoler avatar jerosoler commented on May 25, 2024

I do not understand your question.

from drawflow.

parthsavaliya1 avatar parthsavaliya1 commented on May 25, 2024

@jerosoler When I add node which type is break(Node 2 in first Image) .At that time in that node there is 2 output. you can check in my second image node 2 has 2 output . i want to get how many node is connected with node 2 from bottom and how many node connected with node 2 from right side.also if i again add node which type break after node 2 (in above example node 5 - type break) then again i want to get all node to connected with node 6 from bottom and right.

from drawflow.

jerosoler avatar jerosoler commented on May 25, 2024

You can get the information of a node:

editor.getNodeFromId(5);

You will only see the outputs of the first node. But you can call the same function again to see the child nodes until you finish.

You can add and remove connections with the methods: addConnection and removeSingleConnection.

You can listen to events to see if a new connection is created.
Events that may be of help to you:

  • connectionCreated
  • connectionRemoved
  • nodeCreated
  • nodeRemoved

from drawflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.