Skip to content

Commit

Permalink
added multigraph back to backends
Browse files Browse the repository at this point in the history
  • Loading branch information
akissinger committed May 3, 2024
1 parent 0e28c66 commit ae6167e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyzx/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

from .base import BaseGraph
from .graph_s import GraphS
from .multigraph import Multigraph

try:
import quizx # type: ignore
Expand All @@ -43,7 +44,7 @@ def Graph(backend:Optional[str]=None) -> BaseGraph:
if backend not in backends:
raise KeyError("Unavailable backend '{}'".format(backend))
if backend == 'simple': return GraphS()
# if backend == 'multi': return Multigraph()
if backend == 'multigraph': return Multigraph()
if backend == 'graph_tool':
return GraphGT()
if backend == 'igraph': return GraphIG()
Expand Down

0 comments on commit ae6167e

Please sign in to comment.