Esempio n. 1
0
 public IVertex AddVertex(IDictionary<string, object> theAttributes, KHGraphDB.Structure.Type type = null)
 {
     return AddVertex(null, theAttributes, type);
 }
Esempio n. 2
0
 public IVertex AddVertex(string ID, IDictionary<string, object> theAttributes, KHGraphDB.Structure.Type type = null)
 {
     IVertex v = new Vertex(ID, theAttributes);
     return AddVertex(v, type);
 }
Esempio n. 3
0
        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;
        }