We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sample source Diagram Builder for Core

Thread ID:

Created:

Updated:

Platform:

Replies:

132599 Sep 11,2017 02:40 PM UTC Jun 21,2018 04:56 PM UTC ASP.NET Core 13
loading
Tags: Diagram
Sietse Wielenga
Asked On September 11, 2017 02:40 PM UTC

Hi,

I found the source for the sample of the Diagram Builder for MVC, but where can I this source of the Diagram Builder for Core (2)? (it's not in the downloaded sample folder of Core).

Many thanks in advance.

Kind regards,
Sietse

Shyam G [Syncfusion]
Replied On September 13, 2017 05:51 AM UTC

Hi Sietse, 
  
We have created a diagram builder sample in ASP.NET core and it is available in the below link for download. 
 
 
Regards, 
Shyam G 


Shyam G [Syncfusion]
Replied On September 27, 2017 11:31 AM UTC

Hi PokCG, 
 
The sample provided in the earlier update has an property editor. When you click on the user handles settings tool in the node/connector, the property editor will be visible. Please refer to the screenshot below.  
 
Screenshot: 
 
 
Regards, 
Shyam G 


Shyam G [Syncfusion]
Replied On September 28, 2017 11:28 PM UTC

Hi PokCG, 
 
Please use node’s addInfo property to add an custom information for an node. please refer to the code example in which we have shown how to define custom property for an node and bind the custom value in property editor. 
 
Code example: 
 
   BasicShape node = new BasicShape(); 
   node.Name = "node"; 
   //define addInfo property  
   Dictionary<string, object> addInfo = new Dictionary<string, object>(); 
   addInfo.Add("id", 1); 
   node.AddInfo = addInfo; 
 
cshtml file 
 
<div style="margin-top:10px;margin-left:8px"> 
    <input type="text" id="textbox1" value="" style="width:100px" /> 
    <label for="customproperty" style="font-size: 11px; margin-left: 4px">Custom</label> 
 </div> 
 
Screenshot of cshtml file: 
 
 
Methods.js file 
 
SelectorVMClass.prototype.EnableNodeProperties = function (item, isEnable, isMultipleSelection) { 
     . . . . . . 
     . . . . . . 
     $("#textbox1").val(item.addInfo.id); 
} 
 
Output screenshot: 
 
 
Regards, 
Shyam G 


Kameshwaran R [Syncfusion]
Replied On September 29, 2017 11:37 AM UTC

Hi PokCG,  

Please let us know if you would require any further assistance.  

Regards, 
Kameshwaran R. 


Abhay
Replied On January 5, 2018 02:09 PM UTC

Hi Sietse, 
  
We have created a diagram builder sample in ASP.NET core and it is available in the below link for download. 
 
 
Regards, 
Shyam G 


Please send sample code for diagram in asp.net core 2.0. Framework. Please.

Thanks,
Abhay.

Shyam G [Syncfusion]
Replied On January 8, 2018 01:03 PM UTC

Hi Abhay, 
 
We have created a sample in ASP.NET core framework 2.0 and it is available for download in the below link. 
 
 
Regards, 
Shyam G 


LiuTzuYi
Replied On January 9, 2018 09:46 PM UTC

I'm very sure the sample code (Core 2.0) of Diagram Builder can not run. Can you fix or bundle in next version ?
the sample code you use 14.3600.0.52-preview2-final not the newest v15.4600.0.20 and can not restore from any nuget resource.
and if you have new service pack, please do not remove old version sample code or the service pack include new version sample code.  

Shyam G [Syncfusion]
Replied On January 11, 2018 07:16 AM UTC

Hi LiuTzuYi, 

We have created a diagram builder sample in ASP.NET core with latest version 15.4.0.20 and it is available for download from the below link. 


Regards, 
Shyam G 


Abhay
Replied On January 11, 2018 11:35 AM UTC

Thank You so much!!


Thanks
Abhay Patil.

Shyam G [Syncfusion]
Replied On January 12, 2018 04:25 AM UTC

Hi Abhay, 
Please let us know if you need further assistance on this. 
Regards, 
Shyam G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;