Hi Vince there is a good code examples to create SVG here
https://xmlgraphics.apache.org/batik/using/svg-generator.html [http://www.apache.org/images/asf_logo.gif]<https://xmlgraphics.apache.org/batik/using/svg-generator.html> SVG Generator: SVGGraphics2D<https://xmlgraphics.apache.org/batik/using/svg-generator.html> xmlgraphics.apache.org As SVG is emerging as a promising graphics format for a wide range of domains and applications, bridging it with Java becomes important. This page explains how Batik’s SVGGraphics2D, referred to as the SVG Generator, makes this possible. HTH Martin __________ ________________________________ From: Vincent Mirian <vince.mir...@gmail.com> Sent: Tuesday, May 8, 2018 2:02 PM To: batik-users@xmlgraphics.apache.org Subject: SVG Info Hi, I am using batik to generate a 2D SVG image. To draw the SVG image, I would need: 1) to draw Rectangular shapes (nodes), 2) to draw connections (edges) between the nodes, and, 3) to 'draw/display' images from png files as nodes. Any suggestions on how to complete these tasks would be appreciated. Thanks in advance, -- Vincent Mirian