Esempio n. 1
0
        protected virtual GraphObject AllocObject()
        {
            var obj = new GraphObject(_global_object_index);

            _global_object_index++;
            return(obj);
        }
Esempio n. 2
0
 public GraphRelation(GraphObject obj1, GraphObject obj2)
 {
     Obj1 = obj1;
     Obj2 = obj2;
 }
Esempio n. 3
0
 public GraphRelation(GraphObject obj1, GraphObject obj2, GraphCluster relateFromObj1Cluster = null, GraphCluster relateFromObj2Cluster = null)
     : this(obj1, obj2)
 {
     this.RelateFromObj1Cluster = relateFromObj1Cluster;
     this.RelateFromObj2Cluster = relateFromObj2Cluster;
 }