Skip to content

Commit

Permalink
Updating to compress format
Browse files Browse the repository at this point in the history
  • Loading branch information
hyakuhei committed Jul 24, 2021
1 parent e0e2564 commit 1cfc042
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions fluentm.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,14 +559,30 @@ def renderDfd(graph: Digraph, title: str, outputDir: str):

def dfd(scenes: dict, title: str, dfdLabels=True, render=False, simplified=False):
graph = Digraph(title)
graph.attr(rankdir="LR", color="blue")
graph.attr("node", fontname="Arial", fontsize="14")
graph.attr(
rankdir="LR",
color="blue",
fontname="Arial"
)
graph.attr(
"node",
fontname="Arial",
fontsize="11",
shape="box",
style="rounded",
)
graph.attr(
"edge",
fontname="Arial",
fontsize="11"
)
# This will break tests!

clusterAttr = {
"fontname": "Arial",
"fontsize": "12",
"fontsize": "11",
"color": "red",
"line": "dotted",
"style": "dashed"
}

boundaryClusters = {}
Expand Down

0 comments on commit 1cfc042

Please sign in to comment.