Skip to content

Commit 857439a

Browse files
committed
fix issue 56
1 parent 506905f commit 857439a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/GraphsDFG/services/GraphsDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function attributes(v::GraphsNode, g::T)::AttributeDict where T <:GenericInciden
77
AttributeDict(
88
"label" => v.dfgNode.label,
99
"color" => v.dfgNode isa DFGVariable ? "red" : "blue",
10-
"shape" => v.dfgNode isa DFGVariable ? "box" : "ellipse",
10+
"shape" => v.dfgNode isa DFGVariable ? "ellipse" : "box",
1111
"fillcolor" => v.dfgNode isa DFGVariable ? "red" : "blue"
1212
)
1313
end

src/entities/DFGVariable.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ mutable struct VariableNodeData
1515
inferdim::Float64
1616
ismargin::Bool
1717
dontmargin::Bool
18+
# Tonio surprise TODO
19+
# frontalonly::Bool
1820
# A valid, packable default constructor is needed.
1921
VariableNodeData() = new(zeros(1,1), zeros(1,1), Symbol[], Int[], 0, false, :NOTHING, Symbol[], "", false, false, false, false)
2022
VariableNodeData(x1::Array{Float64,2},

0 commit comments

Comments
 (0)