Figure 2:
An example of factor graph.