Platonic solid graph generator

From WandoraWiki
Revision as of 19:34, 22 January 2008 by Akivela (Talk | contribs)

Jump to: navigation, search

Platonic solid graph generator creates algorithmically graphs for simple geometrical objects known as Platonic solids. Platonic solids are

  • Tetrahedron
  • Cube
  • Octahedron
  • Dodecahedron
  • Icosahedron

Generator creates a topic for each vertex and connects this vertex topic to other vertex topics sharing an edge. Vertex topics are given a base name

<object> Vextex <n>

where <object> is Tetrahedron, Cube, Octahedron, Dodecahedron, or Icosahedron. and <n> is a number of the vertex. First vertex gets number 0. For example Cube Vertex 5 is a base name for cube's last vertex point.

Similarly each vertex topic is given a subject identifier

http://www.wandora.org/<object>/vertex<n>

where <object> is lower case name of the object and <n> a number of vertex.

Vertexes are connected with edge associations. Association type's base name and subject identifiers are

 <object>Edge
 http://www.wandora.org/<object>/edge

Association roles are

 <object> Role 1
 <object> Role 2
Personal tools