def build_wheel_graph(num_nodes):
<EOL>graph = build_cycle_graph(num_nodes - <NUM_LIT:1>)<EOL>cycle_graph_vertices = graph.get_all_node_ids()<EOL>node_id = graph.new_node()<EOL>for cycle_node in cycle_graph_vertices:<EOL><INDENT>graph.new_edge(node_id, cycle_node)<EOL><DEDENT>return graph<EOL>
Builds a wheel graph with the specified number of nodes.
       Ref: http://mathworld.wolfram.com/WheelGraph.html