Content connection and display

I want to connect my graph to a content management application. How would I go about displaying file contents for a node next to my graph?