add shapes and image based on https://github.com/jacomyal/sigma.js/pull/106