Re: [Dev] What is the best way to implement collapsible tree structure in an SVG group

2016-09-27 Thread Sachithra Dangalla
Uploading the screenshot. ​ *Sachithra DangallaSoftware Engineering Intern* Mobile : +94 (0) 713700656 sachit...@wso2.com On Wed, Sep 28, 2016 at 9:11 AM, Sachithra Dangalla wrote: > Hi Dakshika, > > Thank you for the information.

Re: [Dev] What is the best way to implement collapsible tree structure in an SVG group

2016-09-27 Thread Sachithra Dangalla
Hi Dakshika, Thank you for the information. Since the base is an svg canvas, I tried to embed html ul/li (as in[2] of your response) in a foreignObject and achieved the desired tree structure with collapsible/expandable functionality. But each leaf node should have an anchor that can be dragged

Re: [Dev] What is the best way to implement collapsible tree structure in an SVG group

2016-09-27 Thread Dakshika Jayathilaka
Hi Sachithra, We do have tree view on wso2 theme[1]. If you using wso2 theme inside this you can use it out of the box. Or else it's a tiny set of javascript. [2] [1] http://wso2-dev-ux.github.io/theme-wso2/layout.html [2]

[Dev] What is the best way to implement collapsible tree structure in an SVG group

2016-09-22 Thread Sachithra Dangalla
Hi, I am an intern working on the project JavaScript based Data mapper tooling. The project is described in the forwarded mail below. *Current status:* Currently the implementation parses a JSON schema, draws the structure on an SVG group, adds draggable circles to the leaf nodes which can be