G = momentGraph(X)
If a MomentGraph has been defined for a GKMVariety X, this method method returns the moment graph, and returns error otherwise.
i1 : momentGraph generalizedFlagVariety("A",3,{2}) o1 = a "moment graph" on 6 vertices with 12 edges o1 : MomentGraph