icosahedron icosahedron(g) --- overwrite g with the icosahedron graph
load load(g,filename) --- read a saved graph on disk
octahedron octahedron(g) --- overwrite g with the octahedron graph, K(2,2,2)
petersen petersen(g) --- overwrite g with the Petersen graph
sgf sgf --- simple graph format: a 2-column matrix representation
subsref subsref implements the notation g(v) and g(v,w)
SOURCE CODE
0001 function full(g)
0002 % full(g) --- convert internal storage for g to full
0003
0004 global GRAPH_MAGIC
0005
0006 GRAPH_MAGIC.graphs{g.idx}.array = ...
0007 full(GRAPH_MAGIC.graphs{g.idx}.array);