Add graph and search