New way to draw graph