# Force-based 3D graph drawing in AS3

I decided to extend my last graph drawing algorithm - I added a "z" coordinate (for position, forces etc.). I used Away3DLite libraries for drawing a graph.

## Drawing a graph from the input

I created the ability to draw a concrete graph. The input looks like this:
numberOfVertices:edge,edge,edge,edge
where "edge" has this form
fromVertex-toVertex

### Examples

If you have created some interesting graphs, write them into comments (name of the graph and it's code) and I will add them to the table. Thanks!

## Old comments (closed because of spam)

1. Werkov said:

Awesome!

Benzene: 12:1-2,2-3,3-4,4-5,5-6,6-1,1-7,2-8,3-9,4-10,5-11,6-12
Cyclohexane (not real): 18:1-2,2-3,3-4,4-5,5-6,6-1,1-7,2-8,3-9,4-10,5-11,6-12,1-13,2-14,3-15,4-16,5-17,6-18
Methane: 5:1-2,1-3,1-4,1-5

January 7th, 2011
2. Fred said:

Both 2D and 3D are fun.
Algo, code… nothing public ?

June 29th, 2012