Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions cana/drawing/effective_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"NODE_MARGIN": ".05",
"NODE_OUTLINE_COLOR": "black",
"NODE_FILLCOLOR": "#edf7ed",
"INPUT_FILL": "#d299ff",
"SINK_FILL": "#22c55e",
"INPUT_FILL": "#edf7ed",
"SINK_FILL": "#edf7ed",
"NODE_FONTNAME": "Helvetica",
"NODE_FONTCOLOR": "black",
"GRID_DX": 120.0, # Increased from 2.0 (standard points)
Expand Down Expand Up @@ -525,11 +525,6 @@ def visualize_conditional_effective_graph(EG_cn, EG0, conditioned_nodes, sModel=
# ==========================================================
fill = cfg["NODE_FILLCOLOR"]

if nid in sinks_set:
fill = cfg["SINK_FILL"]
elif nid in inputs_set and nid not in sinks_set:
fill = cfg["INPUT_FILL"]

# =====================
# NODES
# =====================
Expand Down