public static void SetRelationship(GShape parent, params GShape[] childs) { foreach (var c in childs) { parent.Childs.Add(c); c.Parents.Add(parent); } }
public GShapeRule(GShape shape) { gShape = shape; }