Antlr4.Tool.DOTGenerator.GetEdgeLabel C# (CSharp) Method

GetEdgeLabel() protected method

protected GetEdgeLabel ( string label ) : string
label string
return string
        protected virtual string GetEdgeLabel(string label)
        {
            label = label.Replace("\\", "\\\\");
            label = label.Replace("\"", "\\\"");
            label = label.Replace("\n", "\\\\n");
            label = label.Replace("\r", "");
            return label;
        }