Sorry for this probably simple question, but I've got trouble with serialization of AdjacaencyGraph.
I use this type of graph
AdjacencyGraph<MyClass, TaggedEdge<MyClass, double>>
I try use it for cloning my Dictionary which contain this type of graphs, thats how I do it:
public static T Clone<T>(T source)
IFormatter formatter = new BinaryFormatter();
Stream stream = new MemoryStream();
And programm fall when try to serialize, it says that this type not mentioned as serializable.
How can I fix it& Or is there are any other way to make a clone.