- Welcome, Guest. Please Login or Register
MindFusion  
  We have released initial version of MindFusion.JavaScript pack. It includes chart, diagram, calendar, map, virtual keyboard, gauge and UI components. Here are more details and live demo for anyone interested.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Pages: 1 2  Send Topic Print  
edited form of diagram
Read 615 times

Lyubo   Offline
Senior Member
****
Posts: 302
Gender: male
MindFusion team


   
     
 
Re: edited form of diagram
Reply #15 - May 15th, 2019 at 10:33am
 
Hi,

This error should not be present, if you're using MindFusion.Diagramming for ASP.NET MVC. It can show only if you're using our standalone JavaScript package.

If you want to use the MVC component, you don't have to create manually the diagram in javascript, if you do, you'll seeing these JsDiagram related errors. In order to properly setup your MVC application with MvcDiagram, please follow the tutorial sample projects, provided with the package. Instructions can be found here: https://www.mindfusion.eu/onlinehelp/mvcdiagram/index.htm?CC_Tutorial_1__Getting....

If you are using the standalone JsDiagram package, in order to resolve the 404 error, you need to place the diagram_lic.txt file that comes with it in the same location as your web page, as it is indicated in the documentation files here: https://www.mindfusion.eu/onlinehelp/jsdiagram/index.htm?Licensing_2.htm.

Regards,
Lyubo
 
 
 
IP Logged    
 
     

Rakhi   Offline
Junior Member
**
Posts: 65
I Love MindFusion!


   
     
 
Re: edited form of diagram
Reply #16 - May 15th, 2019 at 11:00am
 
Hi Actually for making my diagram I used following link please have a look once
https://www.youtube.com/watch?v=B1__iz2y_Nc

and installed required packages 
1. Mindfusion.Diagramming.MVC
2. Microsoft.ASPNET.SignalR
 
 
 
IP Logged    
 
     

Rakhi   Offline
Junior Member
**
Posts: 65
I Love MindFusion!


   
     
 
Re: edited form of diagram
Reply #17 - May 15th, 2019 at 11:34am
 
and attaching my flowchart diagram that I have created using the same code
 
 

flowchart.bmp (292 KB | 12 )
flowchart.bmp
 
IP Logged    
 
     

Lyubo   Offline
Senior Member
****
Posts: 302
Gender: male
MindFusion team


   
     
 
Re: edited form of diagram
Reply #18 - May 15th, 2019 at 12:13pm
 
Hi,

That example doesn't show error for me.

Regards,
Lyubo
 
 
 
IP Logged    
 
     

Rakhi   Offline
Junior Member
**
Posts: 65
I Love MindFusion!


   
     
 
Re: edited form of diagram
Reply #19 - May 15th, 2019 at 12:19pm
 
Okay yes error is not there, and to redraw diagram from database, I used this example

https://mindfusion.eu/samples/javascript/diagram/tutorial1.html

please look into source code of this


after I saved my diagram into database using the same event in the youtube link shared with you. I am getting error when I create node after loading the diagram in the canvas and edit it.
 
 
 
IP Logged    
 
     

Rakhi   Offline
Junior Member
**
Posts: 65
I Love MindFusion!


   
     
 
Re: edited form of diagram
Reply #20 - May 15th, 2019 at 12:22pm
 
and please clear from both the links where I am wrong in creating the diagram or in loading the diagram. I am not getting my problem
 
 
 
IP Logged    
 
     

Lyubo   Offline
Senior Member
****
Posts: 302
Gender: male
MindFusion team


   
     
 
Re: edited form of diagram
Reply #21 - May 15th, 2019 at 1:34pm
 
Rakhi wrote on May 15th, 2019 at 6:59am:
Hi,
This is my js code
diagram = Diagram.create($("#testid")[0]);
diagram.setAllowInplaceEdit(true);


Hi,

From where did you get the above example? I didn't see it in the video sample, nor it is in the tutorials for MvcDiagram. As i said, you should not be creating the diagram manually in JavaScript. It is created automatically for the DiagramView object you create in the way, shown in the tutorials and in the video sample.

Are you getting a different error than the 404 diagram_lic.txt missing?
 
 
 
IP Logged    
 
     

Rakhi   Offline
Junior Member
**
Posts: 65
I Love MindFusion!


   
     
 
Re: edited form of diagram
Reply #22 - May 16th, 2019 at 6:01am
 
you were right, I not required this line
diagram = Diagram.create($("#testid")[0]); 

and I remove now I am not getting any error of lic as before. Thanks. Smiley
 
 
 
IP Logged    
 
     
Pages: 1 2  Send Topic Print