Automatizate operations, connect circles with line

Discussion about writing code for Inkscape.
Nike987
Posts: 9
Joined: Sat Jan 23, 2016 4:34 am

Automatizate operations, connect circles with line

Postby Nike987 » Sat Jan 23, 2016 4:42 am

Hello!

I’m newby user of Inkscape. My file contains different objects (circle, rect, etc) which were grouped on separate layers.
I would like to plot a full graph where circles are nodes, lines are edges,
then I need to delete edges which have intersection with some objects. I can do these operation manually.
Could someone please say me is it possible to solve this task using Inkscape or from a command-line tool on order to
automatizate routine operations? I'm using Windows.

SVG Image
http://www.mediafire.com/download/kbylku8kjf8o3hv/svg_inkscape.svg

Thanks, Nike

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: Automatizate operations, connect circles with line

Postby Grobe » Mon Feb 29, 2016 6:17 am

Don't know about scripting so what I says here is just guessing:

I heard that you can manipulate an svg using javascript in web browsers. However I do not know if you're able to save the modified svg back to a static svg file on disk.
:lol:


Return to “Programming”