Skip to content

Commit

Permalink
black reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hbmartin committed Jul 3, 2024
1 parent 584396f commit c44159a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion graphviz2drawio/mx/Edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion graphviz2drawio/mx/MxGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def get_edge_style(edge, source_node, target_node):
curved=curved,
)


def add_node(self, node) -> None:
fill = (
node.fill
Expand Down

0 comments on commit c44159a

Please sign in to comment.