Chapter 2. Basic Graph Manipulations
In this chapter, we will cover the following recipes:
- Generating a random graph
- Selecting and highlighting nodes in the graph
- Coloring and sizing nodes in the graph
- Adding nodes and edges to the graph
- Editing node attributes in the graph
- Finding out the shortest path in the graph
- Setting the edge and label properties
- Setting basic properties for graphs, nodes, edges, and labels
- Changing the background color of the graph
- Generating a heat map for the graph
- Showing convex hulls for a graph where a hierarchy exists
- Showing/hiding various parts of the graph
- Reverting changes in the graph to the original presets
- Creating a PNG file directly from the graph window in user-specified sizes