private void AddNodes() { foreach (var table in data.AddTables()) { Node node = new Node(table.Name); node.LabelText = getTableData(table); graph.AddNode(node); } }