Function Repository Resource:

# PolyhedralGraphFaces

Get the faces corresponding to a polyhedral graph

Contributed by: Ed Pegg Jr
 ResourceFunction["PolyhedralGraphFaces"][edges] returns the corresponding faces of polyhedron from the list of edges of a polyhedral graph.

## Details

This function is meant purely for polyhedral graphs, as a method for turning them into polyhedra.
Currently, faces returned may not be flat with the given set of vertices.
In the future, this may be expanded to cycle double covers for bridgeless graphs, where every edge is covered by two cycles.

## Examples

### Basic Examples (2)

Find the faces corresponding to a set of polyhedral graph edges:

 In:= Out= Show the faces:

 In:= Out= Show the Schlegel diagram or Tutte embedding of the polyhedral graph:

 In:= Out= Show the polyhedral graph as a polyhedron:

 In:= Out= Create a Polyhedron directly from a polyhedral Graph:

 In:= Out= Extract the faces:

 In:= Out= ### Neat Examples (5)

All polyhedral graphs with 1 to 10 vertices, grouped by number of vertices, in "g6" format:

 In:= Number of polyhedral graphs with n vertices, A000944:

 In:= Out= Face lists for the seven polyhedral graphs with six vertices:

 In:= Out= Show the polyhedra with six vertices:

 In:= Out= Show the 34 heptahedra:

 In:= Out= ## Version History

• 1.0.0 – 06 December 2022