From da2f3d4ced124e445e3d384ad21c556d969ef645 Mon Sep 17 00:00:00 2001 From: Paul Nitzke <14367-paulenit@users.noreply.git.rwth-aachen.de> Date: Mon, 20 Jun 2022 02:36:30 +0200 Subject: [PATCH] Remove umlauts --- src/SparseTransform/Convert/ColoredDotWriter.cs | 8 ++++---- src/SparseTransform/Convert/DotWriter.cs | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/SparseTransform/Convert/ColoredDotWriter.cs b/src/SparseTransform/Convert/ColoredDotWriter.cs index 6c9ca42..afb7dea 100644 --- a/src/SparseTransform/Convert/ColoredDotWriter.cs +++ b/src/SparseTransform/Convert/ColoredDotWriter.cs @@ -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] + "\"]"; } } } diff --git a/src/SparseTransform/Convert/DotWriter.cs b/src/SparseTransform/Convert/DotWriter.cs index 6694352..58ac50c 100644 --- a/src/SparseTransform/Convert/DotWriter.cs +++ b/src/SparseTransform/Convert/DotWriter.cs @@ -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]"; } -- GitLab