Networkx
(http://networkx.lanl.gov)
``is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks''. More details can also be found on
http://www.sagemath.org:9001/graph_survey or in Robert Miller's SageDays 3 talk.
sage: C = graphs.CubeGraph(4)
Now type
C.show(vertex_labels=False, node_size=60, graph_border=True, figsize=[9,8])
to view this with some of the options.
The digraph below is a
-cycle with vertices
and edges
,
,
:
sage: D = DiGraph( { 0: [1], 1: [2], 2: [0]} )
Type D.show()
to view this.
See About this document... for information on suggesting changes.