Visuaizing Graphs in Canvas