IdentifyGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory

  

IdentifyGraph

  

search for isomorphism to named graphs

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IdentifyGraph(G)

Parameters

G

-

graph

Description

• 

IdentifyGraph takes as input an unweighted graph G and attempts to find isomorphisms to one or more named graphs known to GraphTheory.

Examples

The cycle graph on 5 vertices is also the Paley graph on 5 vertices, and this will appear in the list of results.

withGraphTheory:

GCycleGraph5

GGraph 1: an undirected graph with 5 vertices and 5 edge(s)

(1)

IdentifyGraphG

CycleGraph,5,SpecialGraphs:−CageGraph,2,5,SpecialGraphs:−PaleyGraph,5

(2)

In this example we begin by picking any edge {a,b} from the Hoffman-Singleton graph and deleting all vertices incident to a or b.

HSSpecialGraphs:-HoffmanSingletonGraph

HSGraph 2: an undirected graph with 50 vertices and 175 edge(s)

(3)

edgeEdgesHS100

edge20,25

(4)

GDeleteVertexHS,convertNeighborhoodHS,edge1,setunionconvertNeighborhoodHS,edge2,set

GGraph 3: an undirected graph with 36 vertices and 90 edge(s)

(5)

With IdentifyGraph, we discover that this subgraph has a name: it is isomorphic to the Sylvester graph.

IdentifyGraphG

SpecialGraphs:−SylvesterGraph

(6)

Compatibility

• 

The GraphTheory[IdentifyGraph] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

CycleBasis

DeleteEdge

IsTree

Trail