Example #1
0
        public virtual void Load(RSFileReader R)
        {
            byte tag;

            while ((tag = R.ReadByte()) != 0)
            {
                switch (tag)
                {
                case 10:
                    p_next_id = R.ReadInt64();
                    break;

                case 20:
                    Objects = new GVGraphObjectCollection(this);
                    Objects.Load(R);
                    break;

                case 30:
                    Connections = new GVGraphConnectionCollection(this);
                    Connections.Load(R);
                    break;

                default:
                    break;
                }
            }
        }
Example #2
0
 public GVGraph()
 {
     Connections = new GVGraphConnectionCollection(this);
     Objects     = new GVGraphObjectCollection(this);
 }