With VertexRenderingFunction->f, each vertex is rendered with the graphics primitives given by , where is the position where the vertex is being placed, and is its name.

With EdgeRenderingFunction->g, each edge is rendered with the graphics primitives given by , where are the beginning and ending points of the edge, are the beginning and ending vertices, and is any label specified for the edge.