Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) edited form of diagram (Read 8331 times)
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: edited form of diagram
Reply #15 - May 15th, 2019 at 9:33am
Print Post  
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
  
Back to top
 
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: edited form of diagram
Reply #16 - May 15th, 2019 at 10:00am
Print Post  
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
  
Back to top
AIM  
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: edited form of diagram
Reply #17 - May 15th, 2019 at 10:34am
Print Post  
and attaching my flowchart diagram that I have created using the same code
  

flowchart.bmp ( 292 KB | 155 Downloads )
flowchart.bmp
Back to top
AIM  
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: edited form of diagram
Reply #18 - May 15th, 2019 at 11:13am
Print Post  
Hi,

That example doesn't show error for me.

Regards,
Lyubo
  
Back to top
 
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: edited form of diagram
Reply #19 - May 15th, 2019 at 11:19am
Print Post  
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.
  
Back to top
AIM  
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: edited form of diagram
Reply #20 - May 15th, 2019 at 11:22am
Print Post  
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
  
Back to top
AIM  
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: edited form of diagram
Reply #21 - May 15th, 2019 at 12:34pm
Print Post  
liza wrote on May 15th, 2019 at 5: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?
  
Back to top
 
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: edited form of diagram
Reply #22 - May 16th, 2019 at 5:01am
Print Post  
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
  
Back to top
AIM  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint