How to customizing group shape?

Hello
Your Guys.

I have a question.
I want to customizing group shape in diagram.
I tried...
But I couldn't it...

I just make diagram like this picture.



and,

I want to customizing like this picture.





could your guys help me??
I prefer to change shape with html type.

I also append my source code.

Regards,

Attachment: diagram_6ab22770.zip

3 Replies

SG Shyam G Syncfusion Team March 25, 2020 06:51 AM UTC

 
Hi Acryl, 
 
We have created a sample in which we have created a group node with your SVG content. Please refer to a sample below. Also, we could not able to view your expected requirement in your screenshot. 
 
 
Help documentation: 
 
Regards, 
Shyam G 



AC Acryl March 25, 2020 09:41 AM UTC


thank you for your reply.

But I don't want it.

I have four node like this picture



I want to push node in blue node like this.



So I tried...
But Couldn't push node on blue node.
I mean, I couldn't push node and The child nodes did not move together when the blue nodes were moved.

(Like SubPocess node of BPMN )

(https://ej2.syncfusion.com/demos/#/material/diagram/bpmn-editor.html)



What I want is three things bellow,

1. I'd like to put a regular node inside a blue node.
2. The child node move together when the blue nodes were moved.
3. The child node should be not resized when the blue nodes were resized.

I'd appreciate your help.
Thank you



SG Shyam G Syncfusion Team March 26, 2020 05:20 AM UTC

Hi Acryl, 
 
Query 
Response 
 I'd like to put a regular node inside a blue node. 
We have created a sample in which we have put a regular node inside a blue node as a group node. Since it is an HTML node, the connectors will stay behind the blue node. So, I have changed the blue node as a transparent node. please refer to a sample below. 
The child node move together when the blue nodes were moved. 
Yes, when you move the blue node, the child nodes will move together. 
The child node should be not resized when the blue nodes were resized.  
In a group node, the first click will select a group and the second click will select a child node. So, you need to click twice on a blue node to achieve your requirement. 
 
 
 
Regards, 
Shyam G 


Loader.
Up arrow icon