Automated design and drawing of graphs