modified to test for different node types
update
added new SVG paths to create SBGN shapes