An extension of svg.js to add flowchart-specific functions