This is a migrated thread and some comments may be shown as answers.

Can Telerik Controls meet these requirements?

1 Answer 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Perry
Top achievements
Rank 1
Perry asked on 30 Jul 2015, 07:10 PM

I am very new to the Telerik controls, less then 8 hours.  I just spent several hours building a social network diagram using the D3.js library and now need to see if I can create a similar product with the Telerik controls.  Basically the diagram ​nodes need to show an image, that is stored on a local server, along with some textual ​information.   All data for the nodes and links would be stored in a local json data-set.  I would also need to add text labels to lines that link the nodes.

 

Can any one tell me if these requirements can be met using the Telerik controls, and any example code I could use to get up to speed.

 

Thanks

Perry

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 04 Aug 2015, 03:54 PM
Hi Perry,

You can add image and text in a DigramShape by utilizing the Diagram's Visual templates functionality. You can find more detailed information on the subject along with code samples in the following help article:
Shape Templates

The control also provides support for basic exporting/importing Json data, but there are some still not fully working and thus not supported scenarios (like export of complex shape, not connected connections, etc.).  More details are available in the following resources:
JSON Import and Export demo
Import from JSON article
Export to JSON article

I hope this information will be helpful for you.

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Perry
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or