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.
Unfortunately, activation email could not send to your email. Please try again.

Sample source Diagram Builder for Core

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 01:51 AM

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 


PokCG
Replied On September 26, 2017 10:05 AM

Hi,

Please provide a diagram builder sample in ASP.NET core(2) that includes also the Property Editor. 

Please see attach image

thanks & best regards

pok


Attachment: Core2_DiagramBuilder_1517dd09.zip

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

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 


PokCG
Replied On September 27, 2017 08:55 AM

Hi, Shyam

Thanks for showing how to access the Property Editor. 

May I know if it is possible to add custom properties to a shape such that these custom properties will show up in the Property Editor?

If yes, could you provide a sample code.

thanks & best regards

pok


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

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 


PokCG
Replied On September 28, 2017 07:56 PM

thanks.


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

Hi PokCG,  

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

Regards, 
Kameshwaran R. 


Abhay
Replied On January 5, 2018 09:09 AM

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 08:03 AM

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 04:46 PM

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 02:16 AM

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 06:35 AM

Thank You so much!!


Thanks
Abhay Patil.

Shyam G [Syncfusion]
Replied On January 11, 2018 11:25 PM

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.

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.

;