Skip to content

Commit

Permalink
Make graph transparent
Browse files Browse the repository at this point in the history
Ref. #345
  • Loading branch information
Alexander Senier authored and jklmnn committed Jul 17, 2020
1 parent 188e6f3 commit d5d5484
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rflx/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def __edge_label(self, link: Link) -> str:
def get(self) -> Dot:
"""Return pydot graph representation of message."""
result = Dot(graph_name=self.__message.full_name)
result.set_graph_defaults(splines="ortho", ranksep="0.8 equally", pad="0.5")
result.set_graph_defaults(
splines="ortho", ranksep="0.8 equally", pad="0.5", truecolor="true", bgcolor="#00000000"
)
result.set_edge_defaults(fontname="Fira Code", fontcolor="#6f6f6f", color="#6f6f6f")
result.set_node_defaults(
fontname="Arimo",
Expand Down

0 comments on commit d5d5484

Please sign in to comment.