Query |
Response |
I was looking some of the demos available. I found that the diagram builder has some functionality for a control I need to do. http://mvc.syncfusion.com/demos/web/DiagramBuilder/Home/Index I want to know what is the copyright status of this code, can use parts of it or it is private for Syncfusion. Please let me know, otherwise, I will check for other free samples open source. |
The MVC diagram builder is a part of Syncfusion. You can get the MVC diagram builder sample from the dashboard. Please refer to the below KB link in which we have shown how to get the samples from the dashboard.
KB link:https://www.syncfusion.com/kb/6328/how-to-get-the-diagram-builder-sample-code-from-the-dashboard
We have created a diagram builder sample and it is available in the below link for download.
|
As a matter of fact, I think the code there is a lot more that I really need. Could you please tell me a tutorial, with some simple SVG canvas and dragging some specific items. By the way, I think it is a quite nice implementation. |
We have created a simple in which we have rendered the symbol palette with some shapes and rendered the diagram.
|
I need some control that allows me to render an image and overlay other objects. I'm not quite sure if Syncfusion has something like that. I have attached some example images of what I'm trying to achieve. |
Could you please confirm us whether you need to set the background image for the diagram and overlay other objects in it. If yes, we have created a sample and provided in the above row. If we misunderstood your requirement, please provide us more details such as video or screenshot. |
Added Install-Package Syncfusion.JavaScript
in the nuget packages and reinstall all option.
2. Error Cannot find module 'angular2/core'
Severity Code Description Project File Line Suppression State
Error TS2307 Cannot find module 'angular2/core'. SyncfusionMvcApplication2 D:\CodeBitbucket\SyncFusion Test Code\Diagrambuilder1919006096\SyncfusionMvcApplication2\Scripts\ej\common\ej.angular2.d.ts 2 Active
I was trying to solve it, however, the solution does not have tsconfig.json file.
Could you please help me. How can I solve and run this solution?
Kind regards,
Juan
Install-Package Syncfusion.JavaScript
6. Then the project will be reload and asked you to use typescript, because it is the recommend option.
7. Click yes and then rebuild. Issue with the Agngular library.
The strange thing is I updated my version of syncfusion to use the
As soon as I installed, I tried to test again and the solution works perfectly. No javascript.syncfusion error.
That thing is worked now.
Anyway, I have other questions for you about the demo.
The demo has the ability to save files.
Where are those files saved in the system?
What is the standard filetype that used to save those files?
How is the menuControl used to save the files? The builder controller does not have any code.
You kindly provided another code for the palette Sample that works fine and it has less code. It is possible to add the Menu control to that demo and it is possible to modify the method save to store in some specific path and filetype?
Could you please provide more information about the use of the menucontrols.
Query |
Response |
Anyway, I have other questions for you about the demo.
The demo has the ability to save files. Where are those files saved in the system? What is the standard filetype that used to save those files? |
In our diagram builder sample, we have saved the diagram as JSON string in browser’s local storage. Please refer to the screenshot below in which we have shown the saved diagram in browser’s local storage.
Screenshot:
|
How is the menuControl used to save the files? The builder controller does not have any code.
You kindly provided another code for the palette Sample that works fine and it has less code. It is possible to add the Menu control to that demo and it is possible to modify the method save to store in some specific path and filetype?
|
We have modified your sample in which we have added the menu control in it. The save options in the menu saves the diagram in local storage.
|
Could you please provide more information about the use of the menucontrols. |
You can easily configured with menu control into your project. Please refer the getting started documentation for Menu control : https://help.syncfusion.com/aspnetmvc/menu/overview . The mentioned link also having a details with use case sample preparation guideline.
Menu samples link: http://mvc.syncfusion.com/demos/web/menu/default
|