parameters: (self)
return_statement: return self.index
docstring: Generate a number used to index a diagram
docstring_summary: Generate a number used to index a diagram
docstring_tokens: Generate a number used to index a diagram
function: def generate_index(self) -> int:
          """
          Generate a number used to index a diagram
          """
          self.index += 1
          return self.index
function_tokens: def generate_index ( self ) -> int : self . index += 1 return self . index