Hi,
I want to append a set of nodes when I click this icon:

And the effect just like this

I want to use autoPlace.append
,but it seem like just use single element
I can drag a set of nodes by left pad,because create.start
can use element array
const elements = [
gateway,
userTask_1,
userTask_2,
userTask_1_connection,
userTask_2_connection,
regressionGateway,
regressionGateway_1_connection,
regressionGateway_2_connection,
];
create.start(e, elements);
how to append multiple nodes?
The create feature supports multiple elements. You can see this in action when creating a sub-process
and when using copy and paste
However, the auto-place feature only supports one element at a time so. You’d have to either change the auto-place feature or implement your own.
Is there any demo about how to complete multiple auto-place or multiple preview?
??
That’s not the answer I wanted.
thanks @Ingo_Richtsmeier,
In fact, I use the logic of dragging and dropping after clicking and automatically releasing the mouse to simulate this operation now.
But the current solution is not what I want
I want to click node’s panel icon to append a multiple nodes.
just like this:
