List <ContentBody> content = new List <ContentBody> (); // контент ноды (по строковое содержимое процедуры) // конструктор public DataNode(string name, List <LinkTo> linkedTo, List <string> linkedForm, List <ContentBody> content, NodesType nodeType) { this.name = name; this.nodeType = nodeType; this.linkedTo = linkedTo; this.linkedForm = linkedForm; this.content = content; }
public NodeCircleShape(NodesType type) { if (type == NodesType.DialogEnd) { gradColor = Color.MistyRose; } else if (type == NodesType.DialogStart) { gradColor = Color.LightGreen; } else if (type == NodesType.NoFromLink) { gradColor = Color.LemonChiffon; } else if (type == NodesType.Unused) { gradColor = Color.LightGray; } else { gradColor = Color.LightSteelBlue; } }