Basic graph theory layout and IO.