Can Telerik Controls meet these requirements?

2 posts, 0 answers
  1. Perry
    Perry avatar
    42 posts
    Member since:
    Jul 2015

    Posted 30 Jul 2015 Link to this post

    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.




  2. Vessy
    Vessy avatar
    1664 posts

    Posted 04 Aug 2015 Link to this post

    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.

    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
Back to Top