Plotting a graph using a markup language comprises receiving a request to
generate a display of a graph of nodes connected by links and focused on
a first entity; retrieving first graph information describing the first
focus entity and first nodes and links to the first entity; creating a
first markup language document with the first graph information, which
when rendered in a display causes plotting the first entity and first
nodes and links; receiving a request to change the display to focus on a
second entity; retrieving second graph information describing only second
nodes and links to the second entity; creating a second markup language
document that contains only the second graph information and which when
rendered causes plotting both the first focus entity and the second focus
entity without repeated rendering of the first markup language document.