Factor graph for model A for comparison:
(As a new user, I am only allowed to add one media per post)