What's this coded in? Is the source available?
By my guess, it simply takes the first and last words of each sentence and treats them as nodes while everything inbetween is a directed edge. This is probably then passed into graphviz.
Example:
Fear -> Dark Side Fear -> Hate -> Suffering -- Dark Side
OR
Fear -> Dark Side Fear -> Hate Hate -> Suffering Suffering -- Dark Side