private string GetGeometry(Link link)
 {
     if (link.Thoughts.Count() == 2)
     {
         Point start = GetCenterByThought(link.Thoughts.ElementAt(0));
         Point end = GetCenterByThought(link.Thoughts.ElementAt(1));
         return string.Format("M{0},{1} L{2},{3}", start.X, start.Y, end.X, end.Y);
     }
     else
     {
         return "M0,0 L0,0";
     }
 }
			public CorrespondenceFact CreateFact(FactMemento memento)
			{
				Link newFact = new Link(memento);

				// Create a memory stream from the memento data.
				using (MemoryStream data = new MemoryStream(memento.Data))
				{
					using (BinaryReader output = new BinaryReader(data))
					{
					}
				}

				return newFact;
			}