Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add two Souce Endporint #10

Open
madadimy opened this issue Aug 31, 2017 · 7 comments
Open

how to add two Souce Endporint #10

madadimy opened this issue Aug 31, 2017 · 7 comments

Comments

@madadimy
Copy link

madadimy commented Aug 31, 2017

how to add two Souce Endporint and two Sink Endporint in type of 'transform'? like this demo

@ajainarayanan
Copy link
Owner

@madadimy I am not sure if I understand your question. Today we have a node type transform that will have two endpoints. One will accept incoming connections and one will have connections going out from it. Does your use case require something different?

In the demo that you have linked each node has 4 endpoints with connections going in and coming out. The existing transform type nodes have only 2.

Is your question Can a transform node have 4 endpoints?

@madadimy
Copy link
Author

madadimy commented Sep 5, 2017

@ajainarayanan yes i want know how to add 4 endporint in a transform node . there have two endpoints can accept incoming connections and two endpoints can connections going out from it.

@ajainarayanan
Copy link
Owner

@madadimy Sorry for the extremely delayed response. Been busy at work. Right now you can't do that. I need to come up with a design for that. Will update this thread once I have a design and a PR for it.

@ajainarayanan
Copy link
Owner

ajainarayanan commented Jan 9, 2018

@madadimy I have re-written react-dag and the new design allows user to add N number of endpoints to a node. You can achieve this using the new design (version 2.0.0.alpha.1) from npm (https://www.npmjs.com/package/react-dag)

Please check the README for documentation.

@rankyangel2014
Copy link

http://react-dag-app.surge.sh/complexdag

can you show me the source code ?
thanks -_- !

@ajainarayanan
Copy link
Owner

@rankyangel2014 Sorry didn't realize I didn't push the branch to github. Here you go https://github.com/ajainarayanan/react-dag-app/tree/feature/ui-2.0.0.alpha.1

@rankyangel2014
Copy link

thanks a lot

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

No branches or pull requests

3 participants