Skip to content

GetName method undefined in pbtxt2dot.py #32

Description

@lannylian

In pbtxt2dot.py, the Sort method seems to be calling an undefined GetName method. I had to add the method to get it working.

def Sort(model):
  def GetName(edge):
    return '%s:%s' % (edge.source, edge.dest)

  S = []
  L = []

Please correct me if I am wrong. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions