Setting up Canvas Mode

In order to use Canvas mode, set ClientSideMode to Canvas and copy the 'MindFusion.Diagramming.js' file to your project's folder.


MindFusion.Diagramming.js is located in the NetDiagram\Redistributable folder after the installation. The same file can be used in both Visual Basic and C# projects.

By default, NetDiagram looks for the 'MindFusion.Diagramming.js' file, which contains the client-side Canvas control, in the same server folder where the current page is located. JsLibraryLocation lets you specify the path where the .js file is located, if for example you need to keep it on a centralized location on your server.