Skip to content
Snippets Groups Projects
Commit 1503fcf0 authored by Paul Nitzke's avatar Paul Nitzke
Browse files

Merge branch 'no-german' into 'master'

Remove umlauts

See merge request !26
parents cc0c961a da2f3d4c
No related branches found
No related tags found
1 merge request!26Remove umlauts
......@@ -38,17 +38,17 @@ namespace SparseTransform.Convert
/// Labels the node with the respective colors determined by it's index. Overrides the method in DotWriter
/// </summary>
/// <param name="node">the node to be labeld</param>
/// <param name="präfix">the paefix of the node-name (either 'c_' or 'r_'</param>
/// <param name="prefix">the paefix of the node-name (either 'c_' or 'r_'</param>
/// <returns></returns>
public override String NodeLabel(GraphNode node, String präfix)
public override String NodeLabel(GraphNode node, String prefix)
{
if (textcolor || node.Color > 64)
{
return "\t" + präfix + node.Index + " [shape=circle, style=filled, label=\"" + präfix + node.Index + "\\n Farbe " + node.Color + "\"]";
return "\t" + prefix + node.Index + " [shape=circle, style=filled, label=\"" + prefix + node.Index + "\\n Farbe " + node.Color + "\"]";
}
else
{
return "\t" + präfix + node.Index + " [shape=circle, style=filled, fillcolor=\"" + dictColor[node.Color] + "\"]";
return "\t" + prefix + node.Index + " [shape=circle, style=filled, fillcolor=\"" + dictColor[node.Color] + "\"]";
}
}
}
......
......@@ -112,11 +112,11 @@ namespace SparseTransform.Convert
/// auxiliary method for creating the dot-node label of graph node
/// </summary>
/// <param name="node"></param>
/// <param name="präfix">name of the node in the corresponding label</param>
/// <param name="prefix">name of the node in the corresponding label</param>
/// <returns></returns>
public virtual String NodeLabel(GraphNode node, String präfix)
public virtual String NodeLabel(GraphNode node, String prefix)
{
return "\t" + präfix + node.Index + " [shape=circle, style=filled]";
return "\t" + prefix + node.Index + " [shape=circle, style=filled]";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment