|
@@ -9,52 +9,56 @@ bottom = [
|
|
|
"instantiate_bottom", "1",
|
|
|
"add_node", "1", "Element",
|
|
|
"add_node", "1", "Class",
|
|
|
- "add_node", "1", "AttributeValue",
|
|
|
+ "add_node", "1", "Attribute",
|
|
|
+ "add_node", "1", "SimpleAttribute",
|
|
|
"add_node", "1", "String",
|
|
|
"add_value", "1", "name_value", "name",
|
|
|
"add_edge", "1", "Association", "Class", "Class",
|
|
|
"add_edge", "1", "Inheritance", "Element", "Element",
|
|
|
- "add_edge", "1", "Attribute", "Element", "AttributeValue",
|
|
|
- "add_edge", "1", "attr_name", "Attribute", "String",
|
|
|
+ "add_edge", "1", "AttributeLink", "Element", "Attribute",
|
|
|
+ "add_edge", "1", "attr_name", "AttributeLink", "String",
|
|
|
"add_edge", "1", "attr_name_name", "attr_name", "name_value",
|
|
|
"add_edge", "1", "class_inh_element", "Class", "Element",
|
|
|
- "add_edge", "1", "attributevalue_inh_element", "AttributeValue", "Element",
|
|
|
- "add_edge", "1", "association_inh_class", "Association", "Class",
|
|
|
- "add_edge", "1", "attribute_inh_attributevalue", "Attribute", "AttributeValue",
|
|
|
+ "add_edge", "1", "attribute_inh_element", "Attribute", "Element",
|
|
|
+ "add_edge", "1", "simple_inh_attribute", "SimpleAttribute", "Attribute",
|
|
|
+ "add_edge", "1", "association_inh_element", "Association", "Element",
|
|
|
+ "add_edge", "1", "attributelink_inh_element", "AttributeLink", "Element",
|
|
|
|
|
|
"retype_model", "1", "1",
|
|
|
"retype", "1", "Element", "Class",
|
|
|
"retype", "1", "Class", "Class",
|
|
|
- "retype", "1", "AttributeValue", "Class",
|
|
|
- "retype", "1", "String", "AttributeValue",
|
|
|
+ "retype", "1", "Attribute", "Class",
|
|
|
+ "retype", "1", "SimpleAttribute", "Class",
|
|
|
+ "retype", "1", "String", "SimpleAttribute",
|
|
|
"retype", "1", "name_value", "String",
|
|
|
"retype", "1", "Association", "Association",
|
|
|
"retype", "1", "Inheritance", "Association",
|
|
|
- "retype", "1", "Attribute", "Association",
|
|
|
- "retype", "1", "attr_name", "Attribute",
|
|
|
+ "retype", "1", "AttributeLink", "Association",
|
|
|
+ "retype", "1", "attr_name", "AttributeLink",
|
|
|
"retype", "1", "attr_name_name", "attr_name",
|
|
|
"retype", "1", "class_inh_element", "Inheritance",
|
|
|
- "retype", "1", "attributevalue_inh_element", "Inheritance",
|
|
|
- "retype", "1", "association_inh_class", "Inheritance",
|
|
|
- "retype", "1", "attribute_inh_attributevalue", "Inheritance",
|
|
|
+ "retype", "1", "attribute_inh_element", "Inheritance",
|
|
|
+ "retype", "1", "simple_inh_attribute", "Inheritance",
|
|
|
+ "retype", "1", "association_inh_element", "Inheritance",
|
|
|
+ "retype", "1", "attributelink_inh_element", "Inheritance",
|
|
|
|
|
|
- "instantiate_node", "1", "AttributeValue", "PrimitiveType",
|
|
|
- "instantiate_node", "1", "AttributeValue", "Natural",
|
|
|
- "instantiate_node", "1", "AttributeValue", "Boolean",
|
|
|
- "instantiate_link", "1", "Attribute", "attr_optional", "Attribute", "Boolean",
|
|
|
+ "instantiate_node", "1", "SimpleAttribute", "Location",
|
|
|
+ "instantiate_node", "1", "SimpleAttribute", "Natural",
|
|
|
+ "instantiate_node", "1", "SimpleAttribute", "Boolean",
|
|
|
+ "instantiate_link", "1", "AttributeLink", "attr_optional", "AttributeLink", "Boolean",
|
|
|
"instantiate_attribute", "1", "attr_optional", "name", "optional",
|
|
|
"instantiate_attribute", "1", "attr_optional", "optional", False,
|
|
|
"instantiate_attribute", "1", "attr_name", "optional", False,
|
|
|
"model_define_attribute", "1", "Class", "lower_cardinality", True, "Natural",
|
|
|
"model_define_attribute", "1", "Class", "upper_cardinality", True, "Natural",
|
|
|
- "model_define_attribute", "1", "Class", "source_lower_cardinality", True, "Natural",
|
|
|
- "model_define_attribute", "1", "Class", "source_upper_cardinality", True, "Natural",
|
|
|
- "model_define_attribute", "1", "Class", "target_lower_cardinality", True, "Natural",
|
|
|
- "model_define_attribute", "1", "Class", "target_upper_cardinality", True, "Natural",
|
|
|
+ "model_define_attribute", "1", "Association", "source_lower_cardinality", True, "Natural",
|
|
|
+ "model_define_attribute", "1", "Association", "source_upper_cardinality", True, "Natural",
|
|
|
+ "model_define_attribute", "1", "Association", "target_lower_cardinality", True, "Natural",
|
|
|
+ "model_define_attribute", "1", "Association", "target_upper_cardinality", True, "Natural",
|
|
|
|
|
|
- "instantiate_link", "1", "Inheritance", "", "Natural", "PrimitiveType",
|
|
|
- "instantiate_link", "1", "Inheritance", "", "Boolean", "PrimitiveType",
|
|
|
- "instantiate_link", "1", "Inheritance", "", "String", "PrimitiveType",
|
|
|
+ "instantiate_node", "1", "Class", "ComplexAttribute",
|
|
|
+ "instantiate_link", "1", "", "Inheritance", "ComplexAttribute", "Attribute",
|
|
|
+ "model_define_attribute", "1", "ComplexAttribute", "type", False, "Location",
|
|
|
|
|
|
"export_node", "1", "models/SimpleClassDiagrams_new",
|
|
|
"exit",
|