Jump to content
Sign in to follow this  
Guest robinplona


Recommended Posts

Guest robinplona

hi ,i have few queries in SVG.in SVG for placing any components on the screen be it rectangle,line or even be text, we have to specify exactly the co-ordinates (x,y).is there any way in which we can place some variable in the place of (x,y) and that variable can be calculated in some other place may be in Java Script or so.in my application i have to create a tree structure with nodes(rectangle) so around 350 nodes will be there i cant specify the absolute values of the coordinates of these nodes (rectangle).the rectangles coordinates can be generated by equation or so and that value can be placed in the definition of rect tag.can anyone can please help me with this issue?Thanks in advance.Regards,Robin

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...