Skip to content

Commit

Permalink
adapt yEd dump, add borderwidth to graphml nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
vwaurich authored and OpenModelica-Hudson committed Jun 19, 2017
1 parent 3dcf0f9 commit c8caa6d
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 53 deletions.
66 changes: 34 additions & 32 deletions Compiler/BackEnd/BackendDump.mo
Expand Up @@ -4070,6 +4070,7 @@ algorithm
nodeLabel := GraphML.NODELABEL_INTERNAL(nodeString,NONE(),GraphML.FONTPLAIN());
(tmpGraph,(_,_)) := GraphML.addNode("Node"+intString(nodeIdx),
GraphML.COLOR_ORANGE,
GraphML.BORDERWIDTH_STANDARD,
{nodeLabel},
GraphML.RECTANGLE(),
SOME(nodeDesc),
Expand Down Expand Up @@ -4128,7 +4129,7 @@ algorithm
varNodeId := getVarNodeIdx(indx);
idxString := intString(indx);
nodeLabel := GraphML.NODELABEL_INTERNAL(idxString,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) := GraphML.addNode(varNodeId, GraphML.COLOR_ORANGE2, {nodeLabel},GraphML.ELLIPSE(),SOME(varString),{(nameAttrIdx,varString),(typeAttIdx,typeStr),(idxAttrIdx,daeIdxStr)},graphIdx,graphInfo);
(graphInfo,_) := GraphML.addNode(varNodeId, GraphML.COLOR_ORANGE2,GraphML.BORDERWIDTH_STANDARD, {nodeLabel},GraphML.ELLIPSE(),SOME(varString),{(nameAttrIdx,varString),(typeAttIdx,typeStr),(idxAttrIdx,daeIdxStr)},graphIdx,graphInfo);
graphInfoOut := (graphInfo,graphIdx);
end addVarNodeToGraph;

Expand Down Expand Up @@ -4161,7 +4162,7 @@ algorithm
eqNodeId := getEqNodeIdx(indx);
idxString := intString(indx);
nodeLabel := GraphML.NODELABEL_INTERNAL(idxString,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) := GraphML.addNode(eqNodeId,GraphML.COLOR_GREEN2,{nodeLabel},GraphML.RECTANGLE(),SOME(eqString),{(nameAttrIdx,eqString),(typeAttrIdx,typeStr),(idxAttrIdx,daeIdxStr)},graphIdx,graphInfo);
(graphInfo,_) := GraphML.addNode(eqNodeId,GraphML.COLOR_GREEN2,GraphML.BORDERWIDTH_STANDARD,{nodeLabel},GraphML.RECTANGLE(),SOME(eqString),{(nameAttrIdx,eqString),(typeAttrIdx,typeStr),(idxAttrIdx,daeIdxStr)},graphIdx,graphInfo);
graphInfoOut := (graphInfo,graphIdx);
end addEqNodeToGraph;

Expand Down Expand Up @@ -4222,7 +4223,7 @@ protected
GraphML.GraphInfo graphInfo;
GraphML.ShapeType shapeType;
GraphML.LineType lineType;
Real lineWidth;
Real lineWidth, borderWidth;
BackendDAE.EqSystems systs;
BackendDAE.Shared shared;
list<BackendDAE.Equation> eqLst;
Expand Down Expand Up @@ -4260,16 +4261,17 @@ algorithm

//dump variable nodes
for varIdx in varIdxs loop
nodeColor := if isAlgLoop(comp) then GraphML.COLOR_ORANGE else GraphML.COLOR_YELLOW;
nodeColor := if isAlgLoop(comp) then GraphML.COLOR_RED2 else GraphML.COLOR_GREEN2;
borderWidth := if BackendVariable.isStateVar(BackendVariable.getVarAt(vars,varIdx)) then GraphML.BORDERWIDTH_BOLD else GraphML.BORDERWIDTH_STANDARD;
if isTearingVar(varIdx,comp) then
shapeType := GraphML.ELLIPSE();
tearInfo := "TearingVar";
nodeColor := GraphML.COLOR_ORANGE2;
nodeColor := GraphML.COLOR_RED;
else
shapeType := GraphML.ELLIPSE();
tearInfo := "AlgebraicVar";
end if;
(graphInfo,(_,_)) := GraphML.addNode("V_"+intString(sysIdx)+"_"+intString(varIdx), nodeColor,
(graphInfo,(_,_)) := GraphML.addNode("V_"+intString(sysIdx)+"_"+intString(varIdx), nodeColor, borderWidth,
{GraphML.NODELABEL_INTERNAL(intString(varIdx), NONE(), GraphML.FONTPLAIN())},
shapeType, SOME(BackendDump.varString(BackendVariable.getVarAt(vars,varIdx))),
{((nameAttIdx,"V_"+intString(sysIdx)+"_"+intString(varIdx))), ((varAttIdx, intString(varIdx))), ((eqAttIdx, "-")), ((compAttIdx, BackendDump.printComponent(comp))), ((sysAttIdx, intString(sysIdx))), ((tearAttIdx,tearInfo)), ((orderAttIdx,intString(order)))},
Expand All @@ -4278,46 +4280,46 @@ algorithm

//dump equation nodes
for eqIdx in eqIdxs loop
nodeColor := if isAlgLoop(comp) then GraphML.COLOR_GREEN else GraphML.COLOR_GREEN2;
nodeColor := if isAlgLoop(comp) then GraphML.COLOR_RED2 else GraphML.COLOR_GREEN2;
if isResidualEq(eqIdx,comp) then
shapeType := GraphML.RECTANGLE();
tearInfo := "ResidualEq";
nodeColor := GraphML.COLOR_GREEN3;
nodeColor := GraphML.COLOR_RED;
else
shapeType := GraphML.RECTANGLE();
tearInfo := "AlgebraicEq";
end if;
(graphInfo,(_,_)) := GraphML.addNode("E_"+intString(sysIdx)+"_"+intString(eqIdx), nodeColor,
(graphInfo,(_,_)) := GraphML.addNode("E_"+intString(sysIdx)+"_"+intString(eqIdx), nodeColor, GraphML.BORDERWIDTH_STANDARD,
{GraphML.NODELABEL_INTERNAL(intString(eqIdx), NONE(), GraphML.FONTPLAIN())},
shapeType, SOME(BackendDump.equationString(BackendEquation.get(eqs,eqIdx))),
{((nameAttIdx,"E_"+intString(sysIdx)+"_"+intString(eqIdx))), ((varAttIdx, "-")), ((compAttIdx, BackendDump.printComponent(comp))), ((eqAttIdx, intString(eqIdx))), ((sysAttIdx, intString(sysIdx))), ((tearAttIdx,tearInfo)),((orderAttIdx,intString(order)))},
graphIdx,graphInfo);
end for;

//dump edges
for eqIdx in List.intRange(arrayLength(m)) loop
for varIdx in arrayGet(m, eqIdx) loop
if intLe(varIdx, 0) then
lineType := GraphML.DASHED();
else
lineType := GraphML.LINE();
end if;
varIdx := intAbs(varIdx);
lineWidth := if intEq(varIdx,ass2[eqIdx]) then GraphML.LINEWIDTH_BOLD else GraphML.LINEWIDTH_STANDARD;
(graphInfo,(_,_)) := GraphML.addEdge("Edge_"+intString(sysIdx)+"_" + intString(eqIdx)+"_" + intString(varIdx),
"V_"+intString(sysIdx)+"_"+intString(varIdx), "E_"+intString(sysIdx)+"_"+intString(eqIdx),
GraphML.COLOR_BLACK,
lineType,
lineWidth,
false,
{},
(GraphML.ARROWNONE(),GraphML.ARROWNONE()),
{},
graphInfo);
end for;
end for;//end edges
order := order+1;
end for;//end comps

//dump edges
for eqIdx in List.intRange(arrayLength(m)) loop
for varIdx in arrayGet(m, eqIdx) loop
if intLe(varIdx, 0) then
lineType := GraphML.DASHED();
else
lineType := GraphML.LINE();
end if;
varIdx := intAbs(varIdx);
lineWidth := if intEq(varIdx,ass2[eqIdx]) then GraphML.LINEWIDTH_BOLD else GraphML.LINEWIDTH_STANDARD;
(graphInfo,(_,_)) := GraphML.addEdge("Edge_"+intString(sysIdx)+"_" + intString(eqIdx)+"_" + intString(varIdx),
"V_"+intString(sysIdx)+"_"+intString(varIdx), "E_"+intString(sysIdx)+"_"+intString(eqIdx),
GraphML.COLOR_BLACK,
lineType,
lineWidth,
false,
{},
(GraphML.ARROWNONE(),GraphML.ARROWNONE()),
{},
graphInfo);
end for;
end for;//end edges
sysIdx := sysIdx+1;
end for;//end sys

Expand Down
26 changes: 13 additions & 13 deletions Compiler/BackEnd/DumpGraphML.mo
Expand Up @@ -192,15 +192,15 @@ algorithm
labelText = intString(id);
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
desc = ComponentReference.printComponentRefStr(cr);
(graphInfo,_) = GraphML.addNode("v" + intString(id),GraphML.COLOR_BLUE, {label}, GraphML.ELLIPSE(),SOME(desc),{}, graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),GraphML.COLOR_BLUE,GraphML.BORDERWIDTH_STANDARD, {label}, GraphML.ELLIPSE(),SOME(desc),{}, graph, graphInfo);
then (v,(true,id+1,(graphInfo,graph)));

case (v as BackendDAE.VAR(varName=cr),(false,id,(graphInfo,graph)))
equation
true = BackendVariable.isStateVar(v);
labelText = intString(id) + ": " + ComponentReference.printComponentRefStr(cr);
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("v" + intString(id),GraphML.COLOR_BLUE,{label},GraphML.ELLIPSE(),NONE(),{}, graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),GraphML.COLOR_BLUE,GraphML.BORDERWIDTH_STANDARD,{label},GraphML.ELLIPSE(),NONE(),{}, graph, graphInfo);
then (v,(false,id+1,(graphInfo,graph)));

case (v as BackendDAE.VAR(varName=cr),(true,id,(graphInfo,graph)))
Expand All @@ -212,7 +212,7 @@ algorithm
desc = ComponentReference.printComponentRefStr(cr);
//g = GraphML.addNode("v" + intString(id),ComponentReference.printComponentRefStr(cr),GraphML.COLOR_RED,GraphML.ELLIPSE(),g);
//g = GraphML.addNode("v" + intString(id),intString(id),GraphML.COLOR_RED,GraphML.ELLIPSE(),g);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,{label},GraphML.ELLIPSE(),SOME(desc),{}, graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,GraphML.BORDERWIDTH_STANDARD,{label},GraphML.ELLIPSE(),SOME(desc),{}, graph, graphInfo);
then (v,(true,id+1,(graphInfo,graph)));

case (v as BackendDAE.VAR(varName=cr),(false,id,(graphInfo,graph)))
Expand All @@ -221,7 +221,7 @@ algorithm
color = if b then GraphML.COLOR_PURPLE else GraphML.COLOR_RED;
labelText = intString(id) + ": " + ComponentReference.printComponentRefStr(cr);
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("v" + intString(id),color, {label}, GraphML.ELLIPSE(),NONE(),{},graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,GraphML.BORDERWIDTH_STANDARD, {label}, GraphML.ELLIPSE(),NONE(),{},graph, graphInfo);
then (v,(false,id+1,(graphInfo,graph)));

else (inVar,inTpl);
Expand Down Expand Up @@ -254,7 +254,7 @@ algorithm
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
//g = GraphML.addNode("v" + intString(id),ComponentReference.printComponentRefStr(cr),color,GraphML.ELLIPSE(),g);
//g = GraphML.addNode("v" + intString(id),intString(id),color,GraphML.ELLIPSE(),g);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color, {label}, GraphML.ELLIPSE(),NONE(),{},graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,GraphML.BORDERWIDTH_STANDARD, {label}, GraphML.ELLIPSE(),NONE(),{},graph, graphInfo);
then (v,(false,id+1,vec1,(graphInfo,graph)));

case (v as BackendDAE.VAR(varName=cr),(true,id,vec1,(graphInfo,graph)))
Expand All @@ -264,7 +264,7 @@ algorithm
desc = ComponentReference.printComponentRefStr(cr);
labelText = intString(id);
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("v" + intString(id),color, {label}, GraphML.ELLIPSE(),SOME(desc),{},graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,GraphML.BORDERWIDTH_STANDARD, {label}, GraphML.ELLIPSE(),SOME(desc),{},graph, graphInfo);
then (v,(true,id+1,vec1,(graphInfo,graph)));

case (v as BackendDAE.VAR(varName=cr),(false,id,vec1,(graphInfo,graph)))
Expand All @@ -274,7 +274,7 @@ algorithm
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
//g = GraphML.addNode("v" + intString(id),ComponentReference.printComponentRefStr(cr),color,GraphML.ELLIPSE(),g);
//g = GraphML.addNode("v" + intString(id),intString(id),color,GraphML.ELLIPSE(),g);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,{label},GraphML.ELLIPSE(),NONE(),{},graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,GraphML.BORDERWIDTH_STANDARD,{label},GraphML.ELLIPSE(),NONE(),{},graph, graphInfo);
then (v,(false,id+1,vec1,(graphInfo,graph)));

case (v as BackendDAE.VAR(varName=cr),(true,id,vec1,(graphInfo,graph)))
Expand All @@ -283,7 +283,7 @@ algorithm
desc = ComponentReference.printComponentRefStr(cr);
labelText = intString(id);
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,{label},GraphML.ELLIPSE(),SOME(desc),{},graph, graphInfo);
(graphInfo,_) = GraphML.addNode("v" + intString(id),color,GraphML.BORDERWIDTH_STANDARD,{label},GraphML.ELLIPSE(),SOME(desc),{},graph, graphInfo);
then (v,(true,id+1,vec1,(graphInfo,graph)));

else (inVar,inTpl);
Expand Down Expand Up @@ -314,7 +314,7 @@ algorithm
str = intString(inNode) + ": " + BackendDump.equationString(eqn);
str = Util.xmlEscape(str);
label = GraphML.NODELABEL_INTERNAL(str,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("n" + intString(inNode),GraphML.COLOR_GREEN,{label},GraphML.RECTANGLE(),NONE(),{},graph,graphInfo);
(graphInfo,_) = GraphML.addNode("n" + intString(inNode),GraphML.COLOR_GREEN,GraphML.BORDERWIDTH_STANDARD,{label},GraphML.RECTANGLE(),NONE(),{},graph,graphInfo);
then ((graphInfo,graph));
case(_,_,_,true,(graphInfo,graph))
equation
Expand All @@ -325,7 +325,7 @@ algorithm
str = Util.xmlEscape(str);
labelText = intString(inNode);
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("n" + intString(inNode),GraphML.COLOR_GREEN, {label},GraphML.RECTANGLE(),SOME(str),{},graph,graphInfo);
(graphInfo,_) = GraphML.addNode("n" + intString(inNode),GraphML.COLOR_GREEN,GraphML.BORDERWIDTH_STANDARD, {label},GraphML.RECTANGLE(),SOME(str),{},graph,graphInfo);
then ((graphInfo,graph));
end match;
end addEqnGraph;
Expand Down Expand Up @@ -379,7 +379,7 @@ algorithm
str = Util.xmlEscape(str);
color = if intGt(vec2[inNode],0) then GraphML.COLOR_GREEN else GraphML.COLOR_PURPLE;
label = GraphML.NODELABEL_INTERNAL(str,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("n" + intString(e),color, {label}, GraphML.RECTANGLE(),NONE(),{},graph,graphInfo);
(graphInfo,_) = GraphML.addNode("n" + intString(e),color,GraphML.BORDERWIDTH_STANDARD, {label}, GraphML.RECTANGLE(),NONE(),{},graph,graphInfo);
then ((graphInfo,graph));
case(_,_,(vec2,mapIncRowEqn,eqnsflag),true,(graphInfo,graph))
equation
Expand All @@ -393,7 +393,7 @@ algorithm
color = if intGt(vec2[inNode],0) then GraphML.COLOR_GREEN else GraphML.COLOR_PURPLE;
labelText = intString(e);
label = GraphML.NODELABEL_INTERNAL(labelText,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("n" + intString(e),color, {label}, GraphML.RECTANGLE(),SOME(str),{},graph,graphInfo);
(graphInfo,_) = GraphML.addNode("n" + intString(e),color,GraphML.BORDERWIDTH_STANDARD, {label}, GraphML.RECTANGLE(),SOME(str),{},graph,graphInfo);
then ((graphInfo,graph));
case(_,_,(_,mapIncRowEqn,eqnsflag),_,_)
equation
Expand Down Expand Up @@ -529,7 +529,7 @@ algorithm
varlst = List.map1r(vlst,BackendVariable.getVarAt,vars);
text = intString(iN) + ":" + stringDelimitList(List.mapMap(varlst,BackendVariable.varCref,ComponentReference.printComponentRefStr),"\n");
label = GraphML.NODELABEL_INTERNAL(text,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) = GraphML.addNode("n" + intString(iN),GraphML.COLOR_GREEN,{label},GraphML.RECTANGLE(),NONE(),{},graph,graphInfo);
(graphInfo,_) = GraphML.addNode("n" + intString(iN),GraphML.COLOR_GREEN,GraphML.BORDERWIDTH_STANDARD,{label},GraphML.RECTANGLE(),NONE(),{},graph,graphInfo);
then
addCompsGraph(rest,vars,varcomp1,iN+1,(graphInfo,graph));
end match;
Expand Down
4 changes: 2 additions & 2 deletions Compiler/BackEnd/HpcOmMemory.mo
Expand Up @@ -2923,7 +2923,7 @@ import Util;
//print("appendVariablesToGraph: Appending variable " + description + " to graph with index " + intString(iGraphIdx) + "\n");
if(isValidVar) then
nodeLabel := GraphML.NODELABEL_INTERNAL(intString(varIdx), NONE(), GraphML.FONTPLAIN());
tmpGraphInfo := GraphML.addNode("var" + intString(varIdx), GraphML.COLOR_GREEN2, {nodeLabel}, GraphML.ELLIPSE(), SOME(description), {(iThreadIdAttributeIdx,threadText)}, iGraphIdx, tmpGraphInfo);
tmpGraphInfo := GraphML.addNode("var" + intString(varIdx), GraphML.COLOR_GREEN2,GraphML.BORDERWIDTH_STANDARD, {nodeLabel}, GraphML.ELLIPSE(), SOME(description), {(iThreadIdAttributeIdx,threadText)}, iGraphIdx, tmpGraphInfo);
end if;
end for;
tmpGraphInfo := appendTaskVarEdgesToGraph(iTaskSolvedVarsMapping, iTaskUnsolvedVarsMapping, tmpGraphInfo);
Expand Down Expand Up @@ -3056,7 +3056,7 @@ import Util;
threadText := "Th " + intString(threadOwner);
nodeLabelText := intString(realScVarIdx);
nodeLabel := GraphML.NODELABEL_INTERNAL(nodeLabelText, NONE(), GraphML.FONTPLAIN());
(oGraphInfo,_) := GraphML.addNode(nodeId, GraphML.COLOR_GREEN2, {nodeLabel}, GraphML.ELLIPSE(), SOME(varString), {(iAttThreadIdIdx,threadText)}, iTopGraphIdx, iGraphInfo);
(oGraphInfo,_) := GraphML.addNode(nodeId, GraphML.COLOR_GREEN2,GraphML.BORDERWIDTH_STANDARD, {nodeLabel}, GraphML.ELLIPSE(), SOME(varString), {(iAttThreadIdIdx,threadText)}, iTopGraphIdx, iGraphInfo);
//print("--handled with realScVarIdx '" + intString(realScVarIdx) + "'\n");
else
oGraphInfo := iGraphInfo;
Expand Down
1 change: 1 addition & 0 deletions Compiler/BackEnd/HpcOmTaskGraph.mo
Expand Up @@ -2885,6 +2885,7 @@ algorithm
nodeLabels := if visualizeTaskStartAndFinishTime then listAppend(nodeLabels, {GraphML.NODELABEL_CORNER(taskStartTimeString, SOME(GraphML.COLOR_CYAN), GraphML.FONTBOLD(), "nw"), GraphML.NODELABEL_CORNER(taskFinishTimeString, SOME(GraphML.COLOR_PINK), GraphML.FONTBOLD(), "sw")}) else nodeLabels;
(tmpGraph,(_,_)) := GraphML.addNode("Node" + intString(nodeIdx),
GraphML.COLOR_ORANGE,
GraphML.BORDERWIDTH_STANDARD,
nodeLabels,
GraphML.RECTANGLE(),
SOME(nodeDesc),
Expand Down
8 changes: 4 additions & 4 deletions Compiler/FFrontEnd/FGraphDump.mo
Expand Up @@ -161,7 +161,7 @@ algorithm

(gi, _) = GraphML.addNode(
"n" + intString(FNode.id(node)),
color, {label}, shape, NONE(), {}, i, gi);
color,GraphML.BORDERWIDTH_STANDARD, {label}, shape, NONE(), {}, i, gi);

nrefs = RefTree.listValues(kids);
((gi,i)) = addNodes((gi,i), nrefs);
Expand All @@ -179,7 +179,7 @@ algorithm

(gi, _) = GraphML.addNode(
"n" + intString(FNode.id(node)),
color, {label}, shape, NONE(), {}, i, gi);
color,GraphML.BORDERWIDTH_STANDARD, {label}, shape, NONE(), {}, i, gi);

(gi, _) = GraphML.addEdge(
"r" + intString(FNode.id(node)),
Expand Down Expand Up @@ -224,7 +224,7 @@ algorithm

(gi, _) = GraphML.addNode(
"n" + intString(FNode.id(node)),
color, {label}, shape, NONE(), {}, i, gi);
color,GraphML.BORDERWIDTH_STANDARD, {label}, shape, NONE(), {}, i, gi);

(gi, _) = GraphML.addEdge(
"r" + intString(FNode.id(node)),
Expand Down Expand Up @@ -273,7 +273,7 @@ algorithm

(gi, _) = GraphML.addNode(
"n" + intString(FNode.id(node)),
color, {label}, shape, NONE(), {}, i, gi);
color,GraphML.BORDERWIDTH_STANDARD, {label}, shape, NONE(), {}, i, gi);

(gi, _) = GraphML.addEdge(
"e" + intString(FNode.id(node)),
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Template/GraphMLDumpTpl.tpl
Expand Up @@ -66,7 +66,7 @@ template dumpNode(GraphML.Node node, array<GraphML.Graph> allGraphs, array<Graph
<data key="<%graphNodeKey%>">
<y:ShapeNode>
<y:Fill color="#<%color%>" transparent="false"/>
<y:BorderStyle color="#000000" type="line" width="1.0"/>
<y:BorderStyle color="#000000" type="line" width="<%border%>"/>
<%nodeLabelDump%>
<y:Shape type="<%dumpShapeType(shapeType)%>"/>
</y:ShapeNode>
Expand Down

0 comments on commit c8caa6d

Please sign in to comment.