insert node and draw as dot