I'm working on ArgoPrint and one of the needs that we have is to generate
"clickable" Figs.  This would make it possible to add links to objects in
the SVG diagram to documentation about those objects.  From an API
perspective this might look like this:

SVGWriter writer = new SVGWriter(outputFile);
writer.setLinkTemplate("<a href=\"somewhere.com/objId=%s\">%s</a>", new
String[]{objectId, objectSvgFragment});

The last line would allow a developer to surround an object with a link.

Is anyone considering this type of use case in the proposed re-write of
SVGWriter?

-- 
Mark Fortner

blog: http://feeds.feedburner.com/jroller/ideafactory

Reply via email to