Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1769

Python graph[empty] string representation is confusing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.2.6
    • 3.4.0
    • python
    • None

    Description

      From this StackOverflow post, the string representation of the Python Graph object is:

      graph[empty]

      This is likely trying to be similar to EmptyGraph in Java, but this can be misleading for new users, especially if they had been using TinkerGraph which shows how many vertices and edges are in the graph. Something like one of these could be less confusing:

      graph[remote]
      graph[]
      

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            pluradj Jason Plurad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: