public static DirectedGraphLink GetLinkTo(this Assembly reference, AssemblyName assemblyReference) { return new DirectedGraphLink { Source = reference.GetNodeName(), Target = assemblyReference.GetNodeName() }; }