You need to use both a node list and an edge list. E.g. for your example, create an additional row for 'A', 'B', 'C', and 'D' each and add columns for each property you need, i.e. one for the node ID and one for the node color. The node ID values have to be exact matches for the source and target ID values you use in your edge list.