# momentGraph(GKMVariety) -- view the moment graph of a GKM variety

## Synopsis

• Function: momentGraph
• Usage:
G = momentGraph(X)
• Inputs:
• X, ,
• Outputs:
• G, , if a moment graph is defined for the GKMVariety X

## Description

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