1. A method, comprising: assigning each of a plurality of nodes of a graph to a distinct image, of a plurality of images including a first image and a second image, wherein the graph represents a story, wherein each node corresponds to a respective element of the story, wherein each node comprises: (i) an attribute and (ii) a predefined text of the respective element of the story, wherein a first edge of a plurality of edges of the graph specifies a constraint between the attributes of a first node and a second node of the plurality of nodes, wherein the plurality of nodes are assigned based on an attribute of each of the plurality of images and the attribute of each node, wherein the first and second nodes are assigned to the first and second images, respectively, based on the attributes of the first and second images satisfying the constraint specified by the first edge; and generating a visual depiction of the story, wherein the visual depiction comprises an ordered representation of each of the distinct images and the predefined text of each respective element of the story.