YaccConstructor / QuickGraph

Generic Graph Data Structures and Algorithms for .NET
http://yaccconstructor.github.io/QuickGraph/
Microsoft Public License
523 stars 198 forks source link

GraphMLSerializer does not serialize derived vertex/edge attributes #206

Open leryss opened 2 years ago

leryss commented 2 years ago

Seems the serializer just looks at the base type of the vertex for attribute serialization. Is this by design ?

https://github.com/YaccConstructor/QuickGraph/blob/50e0e16df0e6923d7a91e0fbabc89adee451145c/src/QuickGraph/Serialization/GraphMLSerializer.cs#L452-L455