/** * {@inheritdoc} */ public void AddEdge(IActivity a1, IActivity a2) { EdgeConfig config = new EdgeConfig(a2, 0.5); a1.AddEdge(config); // Adds the node to the dictionary. AddToDictionary(a2); }