code: func (g *Graph) AttrNames() []string {
  	names := make([]string, 0, len(graphAttrs))
  	for k := range graphAttrs {
  		names = append(names, k)
  	}
  	sort.Strings(names)
  	return names
  }
docs: // AttrNames is a part of starlark.HasAttrs interface.