Rendering engine for UML diagrams in JavaScript