public IVertex AddVertex(IDictionary<string, object> theAttributes, KHGraphDB.Structure.Type type = null) { return AddVertex(null, theAttributes, type); }
public IVertex AddVertex(string ID, IDictionary<string, object> theAttributes, KHGraphDB.Structure.Type type = null) { IVertex v = new Vertex(ID, theAttributes); return AddVertex(v, type); }
public IVertex AddVertex(IVertex v, KHGraphDB.Structure.Type type = null) { if (v != null && Graph.Equals(v.Graph)) return v; if (Graph.AddVertex(v, type)) return v; return null; }