code: func (g *Graph) GetDefinition() GraphDefinition {
  	if g == nil || g.Definition == nil {
  		return GraphDefinition{}
  	}
  	return *g.Definition
  }
docs: // GetDefinition returns the Definition field if non-nil, zero value otherwise.