    def get_type(self):
        """Get the graph's type, 'graph' or 'digraph'."""
        return self.obj_dict["type"]
Get the graph's type, 'graph' or 'digraph'.
python/aitemplate/utils/visualization/pydot.py