Implemented link between graph and session.