A simple graph library.