logo

ShowGraph.

JavaView Snapshot Mathematica Snapshot
JavaView Applet JavaView Lite Applet

The command ShowGraph[] converts a Graph object in a Graphics object containing points and lines as a set of separate graphics primitives.

The adjacency matrix is stored in full size in the Graph object.

JavaView receives a graph as two separate geometries, a point set and a polygon set. The point set is obsolete if the the vertices of the polygon set are made visible.

In[1]:= <<DiscreteMath`Combinatorica`
In[2]:= sg = ShowGraph[GridGraph[3, 3]]

In[3]:= JavaView[sg]

© 1997-2017 Last modified: 22.06.2017 --- www.javaview.de --- The JavaView Project