val inputStream = dot.getInputStream so that it can be easily used for browser rendering in many scala web framework or lib