@classmethod
def from_graph(cls, graph):
    """Create a new graph instance

        Args:
            graph(basalt.UndirectedGraph or DirectedGraph): low-level graph instance
        """
    return cls(graph=graph)
