awslabs / diagram-maker Public
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
Is it possible to add custom number of Connectors for Nodes? #67
Comments
|
Apologies for the delay in our response and thank you for reaching out. Could you please expand more on your use case? |
|
Hey @notsonoobiee we currently do not have plans to support adding multiple node inputs/outputs. Would you be willing to contribute a code change to support this? |
|
@NorbertNader I don't understand why you would not even plan adding multiple inputs/outputs to nodes. It's the most basic functionality and the first thing anyone is going to ask for when building something a little more complex than a single input and output, right? |
|
You can add multiple inputs & outputs already by just adding the right data attributes. See the relevant documentation around it: https://awslabs.github.io/diagram-maker/usage/declarative.html#customizing-the-node-connectors. However, what's currently not possible is for edges to start & end at these "custom" connectors. That feature would need to be added. |
|
I'm going to try and give this a shot and submit a PR. |
|
@nkev I would like to clarify, there is no plans for the maintainers to actively create this feature, not that we would not accept this feature as a contribution. We would be happy to accept this feature. We are in communications with another user of this library, @tsao565 who is interested in implementing this. Stay tuned :-) |

Hi, I'm finding difficulty to manage custom number of connectors to the nodes. Right now, Diagram-Maker Nodes only support (one input and one output).
Also, please let us know, if it is possible to create custom-standard nodes in diagram maker.
The text was updated successfully, but these errors were encountered: