A pose graph is a picture that makes SLAM debuggable: dots for poses, lines for measurements, and a colour for how much each line disagrees with the dots.
You build the picture yourself. First the dots, by chaining odometry. Then the colours, by computing the error of each edge. Finally the stiffness of each line, and what it does to the answer.