We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Dynamic updating of Diagram in HTML


Hi,

I want to build a web-page which can add dynamic boxes on the click of a button. It should also have arrows which can act like a flowchart. The closest I saw in Syncfusion was 
and 

To understand the pictures, in
- 1_Chart_diagram - That is the initial state. 
- 2_Chart_diagram - On the click of Add Phase, Phase 2 is added. Phase 2 has only the black horizontal line and the blue + button. On clicking it two times, two boxes are added. On dragging from the top to bottom boxes, we get the flow arrows.
- 3_Chart_diagram - On the click of Add Phase again, we get the third phase and it goes on. 

The textboxes should be editable so that by clicking on it, we can edit its contents. 

Thanks,

Muhammad

Attachment: Chart_diagram_21f82ddd.zip

1 Reply

SG Shyam G Syncfusion Team September 5, 2019 08:47 AM UTC

Hi Muhammad, 
 
Query: The textboxes should be editable so that by clicking on it, we can edit its contents.  
 
On looking at your screenshot, we suspect that you are creating  an HTML node. If yes, the contents in HTML node could not be edited at runtime. To create a node similar to screenshot, you can create multiple rectangle node and group together as a group node to achieve your requirement. You can edit each node content in a group. Please refer to an help documentation which shows how to create a group node. 
 
 
Please let us know if any concerns. 
 
Regards, 
Shyam G 


Loader.
Live Chat Icon For mobile
Up arrow icon