Code

Refector stuff into draw_rev_graph