- Home
- Forum
- ASP.NET Core - EJ 2
- ASP .NET MVC CORE Using Angular for diagramming tool
ASP .NET MVC CORE Using Angular for diagramming tool
Hi,
We are in need to buy diagramming tool using syncfusion for that we are trying to create simple nodes and connecter, but I didn't find any step to step tutorial or video to configure in ASP.NET MVC Core using Angular for this. Kindly help me out into this by sharing a tutorial/Video in which all the steps are defined.
Thanks
SIGN IN To post a reply.
9 Replies
SG
Shyam G
Syncfusion Team
January 27, 2020 03:12 PM UTC
Hi Rakhi,
Please find the Getting started documentation to create Angular application using ASP.NET core.
Getting started: https://ej2.syncfusion.com/angular/documentation/getting-started/aspnet-core/?no-cache=1
Here is an help documentation to get started with diagram control.
Also, please find the below to create Angular application in ASP.NET core.
|
Regards,
Shyam G
RA
RakhiS
January 30, 2020 04:55 AM UTC
Thanks Shyam,
But my requirement is to show all the nodes with there shapas and connecters, from where end user can create their diagram with themselves, also how can I get the unique ids of the nodes when it is drag into the diagram part, I want to save the node which is created into database so need its id, labels(texts). If it is connected then need the id of the connecter, source node , destination node among which the connecter is connected, in this way... Please help.
Thanks Shyam,But my requirement is to show all the nodes with there shapas and connecters, from where end user can create their diagram with themselves, also how can I get the unique ids of the nodes when it is drag into the diagram part, I want to save the node which is created into database so need its id, labels(texts). If it is connected then need the id of the connecter, source node , destination node among which the connecter is connected, in this way... Please help.
please reply for the same
SG
Shyam G
Syncfusion Team
January 31, 2020 10:22 AM UTC
Hi Rakhi,
We will create a sample for your requirement and update you the sample on 3rd February, 2020.
Regards,
Shyam G
RA
RakhiS
January 31, 2020 11:02 AM UTC
Ok
Thanks
Hi Rakhi,We will create a sample for your requirement and update you the sample on 3rd February, 2020.Regards,Shyam G
Hi,
How can I get the element type on doubleclick event? I want to know if it is node or connecter or double clicked on somewhere else. Please help
SG
Shyam G
Syncfusion Team
February 3, 2020 09:22 AM UTC
Hi Rakhi,
|
Query |
Response | ||
|
But my requirement is to show all the nodes with there shapas and connecters, from where end user can create their diagram with themselves, also how can I get the unique ids of the nodes when it is drag into the diagram part, I want to save the node which is created into database so need its id, labels(texts). If it is connected then need the id of the connecter, source node , destination node among which the connecter is connected, in this way... Please help. |
Drag and drop a node into the diagram from the symbol palette
When you drag a node from the symbol palette and drop it into the diagram, the CollectionChange event gets triggered. In this event, you will get a newly added object in the arguments element property and you can customize the new node in this event. Please refer to a code example and the sample below.
Code example:
Save the node with specific property.
Please use our saveDiagram method which returns the diagram model properties JSON. In that JSON, we get the nodes and connectors collection and iterate it. After, you should get the required node and connector property and push it into the separate collection.
Next, we should send that collection as a JSON string from client to the server side using AJAX. We can parse that to Diagram Node and Connector in the server side and save it into the database with your field defined in it.
We have created a sample to achieve your requirement. Please refer to a code example below.
Code example:
| ||
|
How can I get the element type on doubleclick event? I want to know if it is node or connecter or double clicked on somewhere else. Please help |
When we double click on a node/connector, we get a node/connector object in the arguments source property. Please refer to a code example and the sample below.
Code example:
|
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/AngularSampleASPCore-1992553730
Regards,
Shyam G
RA
RakhiS
February 5, 2020 06:57 AM UTC
Thanks,
It is really helpful
SG
Shyam G
Syncfusion Team
February 6, 2020 04:00 AM UTC
Hi Rakhi,
Thanks for your update.
Regards,
Shyam G
SIGN IN To post a reply.
- 9 Replies
- 2 Participants
-
RA RakhiS
- Jan 27, 2020 03:30 AM UTC
- Feb 6, 2020 04:00 AM UTC