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

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