Basic graph and demo code.