Fabric.js graph renderer