protected override string OnAttributeTypeMatch(DotNodeStyleAttribute attribute, bool shouldFormat)
 {
     return($"style={DotCompiler.SurroundStringWithQuotes(attribute.Style.FlagsToString(), shouldFormat)}");
 }
Example #2
0
 protected override string OnAttributeTypeMatch(DotLabelAttribute attribute, bool shouldFormat)
 {
     return($"label={DotCompiler.SurroundStringWithQuotes(attribute.Text, shouldFormat)}");
 }