private void WriteAttribute(KeyValuePair <string, object> a) { _buffer.Append(a.Key); _buffer.Append(EQ); _buffer.Append(DotLanguageUtils.GetAttributeString(a.Key, a.Value)); _buffer.Append(ATTRDELIMITER); }
private void WriteGraphAttributes(SubGraph graph) { foreach (var a in graph.Attributes) { WriteLevel(); _buffer.Append(a.Key); _buffer.Append(EQ); _buffer.Append(DotLanguageUtils.GetAttributeString(a.Key, a.Value)); _buffer.Append(LINECLOSER); } }