Open amikum1997 opened 3 years ago
Hi @amikum1997
That's just two nodes.
One with 4 outputs. And another with 1 entry and one exit.
You don't have to have a problem.
It would look something like this.
editor.addNode('buttons', 0, 4, 150, 300, 'buttons', {}, `Buttons`);
editor.addNode('question', 1, 1, 150, 300, 'question', {}, `Question Text`);
@jerosoler thank you for the suggestion but the main issue I am facing is with the mapping of each output option with the next input node value I have tried your suggestion and got this
in this, each option value is not getting mapped with the next input node id.
Need Help with this .
If you want it to connect to the new node automatically you can use this: #205
@jerosoler Thanks for your reply.
But I want to know, how we map each output circle according to its correspondind button.
Like in the picture, output circles are at one place, not according to the buttons we have added.
The output circles are attached to the outer div, but I want them to link with each buttons.
The html content is not linked to the outputs. That is based on the logic of each component. But you can adjust each output using CSS. https://github.com/jerosoler/Drawflow/issues/149#issuecomment-813498435
Other option, more simple:
I am willing to create a node that represents grouped button something like the screenshot I have attached.
Is it possible with the current code or need some modifications?