how to get the sagemath programs related to graphs with nodes and edges

asked 0 years ago

Juliet gravatar image

updated 0 years ago

rburing gravatar image

i need to write programs to draw a graph in graph theory using sagemath

Preview: (hide)

Comments

Just create a graph

G = Graph([[1,2],[2,3]])

and press G.TAB to see the many available methods of graph objects.

FrédéricC gravatar imageFrédéricC ( 0 years ago )

Hi

look here maybe it could help you ?

ortollj gravatar imageortollj ( 0 years ago )

is this homework ?

FrédéricC gravatar imageFrédéricC ( 0 years ago )