Patent ID: 8830254

Claim:
A method comprising: receiving, by a processing device, graph data identifying nodes and edges to graph; generating, by the processing device, an edge draw command to draw at least a first and a second edge as at least a part of a display object based on the received graph data; buffering, by the processing device, from the received graph data, a first node position for a first sprite associated with the first node position and a second node position for a second sprite associated with the second node position; identifying, by the processing device, shader information associated with application of shading to at least a portion of the first sprite and at least a portion of the second sprite, the shader information indicating a change of shade based on a distance from a first position associated with the first sprite and a change of shade based on a distance from a second position associated with the second sprite; generating, by the processing device, a node draw command to draw at least the first and second sprites based on the buffered first and second node positions; generating, by the processing device, a graph shading command, based at least in part on the identified shader information, to apply shading to the at least the portion of the first sprite based, at least in part, on the distance from the first position associated with the first sprite and to apply shading to the at least the portion of the second sprite based, at least in part, on the distance from the second position associated with the second sprite; and providing, by the processing device, the edge draw command, the node draw command, and the graph shading command to a graph execution module.