コード例 #1
0
 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);
 }
コード例 #2
0
 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);
     }
 }