Finish porting to graphviz lib