DGML link descriptions

Topics: serialization
Feb 15, 2012 at 9:25 PM

The ToDirectedGraphML() method allows delegates to be supplied that do additional tweaking of the nodes and links that are output in dgml format. These delegates are passed DirectedGraphNode and DirectedGraphLink objects to capture these tweaks.  Unfortunately there appears to be no way to add additional attributes to the nodes and links.  As I understand DGML, the set of attributes is quite open ended.  The spec defines a set but users are free to add more.  Is there a way of doing this using the standard QuickGraph support?  In particular, I'd like add a Description attribute to the *links*.  This is supported on nodes but not links.