Ask Your Question

Revision history [back]

Do

import sage.all
from sage.graphs.graph import Graph

The import.all does some important initialization steps.