public List <DataColumn> SelectAllMatches(IGraphNode node)
        {
            graphData head = this;

            if (head.parent != null)
            {
                head = gRoot;
            }

            List <DataColumn> output = new List <DataColumn>();
            var dc = head.GetDataColumn(node, false);

            if (dc != null)
            {
                output.Add(dc);
            }

            var all = node.getAllChildren();

            foreach (IGraphNode c in all)
            {
                dc = head.GetDataColumn(c, false);
                if (dc != null)
                {
                    output.Add(dc);
                }
            }

            return(output);
        }
 public DataColumn this[IGraphNode node]
 {
     get
     {
         graphData head = this;
         if (head.parent != null)
         {
             head = gRoot;                      // gRoot.Schema;
         }
         return(head.GetDataColumn(node));
     }
 }
        protected void Deploy(Int32 inputcount)
        {
            graphData head = this;

            if (head.parent != null)
            {
                head = gRoot;
            }

            head.dataTable = new DataTable();
            head.NodeByColumnName.Clear();
            var items = this.getAllChildren();

            foreach (graphData entry in items)
            {
                head.GetDataColumn(entry);
            }

            head.ConstructionInfo = new StructureGraphInformation();
            head.ConstructionInfo.Populate(head);
            head.ConstructionInfo.InputCount = inputcount;
        }