From c44159a281c74b8c6dd482e253910cff62db2ee4 Mon Sep 17 00:00:00 2001 From: Harold Martin Date: Tue, 2 Jul 2024 18:03:04 -0700 Subject: [PATCH] black reformatting --- README.md | 2 +- graphviz2drawio/mx/Edge.py | 4 +++- graphviz2drawio/mx/MxGraph.py | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eb97816..86a5171 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Convert graphviz (dot) files into draw.io (mxGraph) format. - [x] Upgrade to latest svg.path - [x] Reformat for most recent black style - [ ] Publish api docs to GH pages -- [ ] Remove this section before release! +- [ ] Remove this section before release! (move to release notes) ## Getting Started diff --git a/graphviz2drawio/mx/Edge.py b/graphviz2drawio/mx/Edge.py index 3aa91ab..a0ed4be 100644 --- a/graphviz2drawio/mx/Edge.py +++ b/graphviz2drawio/mx/Edge.py @@ -5,7 +5,9 @@ class Edge(GraphObj): - def __init__(self, sid: str, gid: str, fr: str, to: str, curve: Curve, label: str) -> None: + def __init__( + self, sid: str, gid: str, fr: str, to: str, curve: Curve, label: str + ) -> None: super().__init__(sid, gid) self.fr = fr self.to = to diff --git a/graphviz2drawio/mx/MxGraph.py b/graphviz2drawio/mx/MxGraph.py index 78a94c5..d708590 100644 --- a/graphviz2drawio/mx/MxGraph.py +++ b/graphviz2drawio/mx/MxGraph.py @@ -90,7 +90,6 @@ def get_edge_style(edge, source_node, target_node): curved=curved, ) - def add_node(self, node) -> None: fill = ( node.fill