public void DrawConnectiveLines(Graphics g) { foreach (AttributeShape att in this.attributes) { g.DrawLine(new Pen(Color.Black, 1), this.CenterPoint, att.CenterPoint); } for (int i = 0; i < 4; i++) { for (int j = 0; j < this.cardinalities[i].Count; j++) { DrawingSupport.DrawCardinalitiesLine(g, this.cardinalities[i][j], i + 1, j + 1, this.cardinalities[i].Count, this.BackColor); } } }