Creating Subgraph Images

NodeXL will create an image of a subgraph for each of the graph's vertices. A vertex's subgraph consists of the vertex, its incident edges, and optionally its adjacent vertices, their incident edges, and so on, out to a specified level. Here is a sample 1.5-level subgraph image:

Note that the complete graph had many more vertices and edges than are shown here. All the other vertices and edges were removed to create the vertex's subgraph image.

The subgraph images can be saved as files in a specified folder or as thumbnails inserted into the Vertices worksheet.

If you save the subgraph images in a folder, each image file is named after the vertex. The JPEG image file for a vertex named "Vertex 123" will be "Vertex 123.jpg," for example. If a vertex name includes characters that aren't valid in file names, those characters get replaced with hexadecimal representations. The JPEG image file for a vertex named "A\B" will be "A%5CB.jpg," for example. (The backslash, which is not valid in file names, gets replaced with %5C, its hexadecimal representation.)

The "X", "Y" and "Locked?" columns on the Vertices worksheet are ignored when the subgraph images are created.

To create subgraph images for all of the graph's vertices:
  1. In the Excel Ribbon, select NodeXL, Analysis, Subgraph Images.
  2. In the Subgraph Images dialog box, uncheck "Create subgraph images for selected vertices only."
To create subgraph images for the selected vertices only:
  1. Select one or more vertices.
  2. In the Excel Ribbon, select NodeXL, Analysis, Subgraph Images.
  3. In the Subgraph Images dialog box, check "Create subgraph images for selected vertices only."
To delete any subgraph image thumbnails that were inserted into the Vertices worksheet:
  1. In the Excel Ribbon, select NodeXL, Analysis, Subgraph Images, Delete Thumbnails. Note that this does not delete any subgraph images files that were saved in a folder.

More Information