---------- Forwarded Message ---------- Subject: DIA open XML file Date: Mon, 20 Nov 2000 12:54:10 +0100 From: xophl <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Hello ! My name is Christoph Putz. I am writing a software engineering tool for the Ada programming language. This tool should be able to generate the UML class diagramm of any given Ada programm. To achieve this, i use DIA for the visualization of the output of my programm. (i produce an xml-output file suitable for DIA) But i have the following problem: Because I did not know the exact size ( i knew it only approximately) of the classes the arrows of the generalizations and relations did not point on the expected classes exactly. So it is necessary to click on each class in the diagramm to update the position information. I think it should be possible to build a loop in the programm doing this automaticaly. In the attachment is a output file of my programm showing the behaiviour described above. Do you think it is possible to provide such a solution to me? Thanks Christoph Putz -------------------------------------------------------
<?xml version="1.0"?> <diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/"> <diagramdata> <attribute name="background"> <color val="#ffffff"/> </attribute> <attribute name="paper"> <composite type="paper"> <attribute name="name"> <string>#A4#</string> </attribute> <attribute name="tmargin"> <real val="2.82"/> </attribute> <attribute name="bmargin"> <real val="2.82"/> </attribute> <attribute name="lmargin"> <real val="2.82"/> </attribute> <attribute name="rmargin"> <real val="2.82"/> </attribute> <attribute name="is_portrait"> <boolean val="true"/> </attribute> <attribute name="scaling"> <real val="1"/> </attribute> <attribute name="fitto"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="grid"> <composite type="grid"> <attribute name="width_x"> <real val="1"/> </attribute> <attribute name="width_y"> <real val="1"/> </attribute> <attribute name="visible_x"> <int val="1"/> </attribute> <attribute name="visible_y"> <int val="1"/> </attribute> </composite> </attribute> <attribute name="guides"> <composite type="guides"> <attribute name="hguides"/> <attribute name="vguides"/> </composite> </attribute> </diagramdata> <layer name="Hintergrund" visible="true"> <object type="UML - Class"version="0" id="test.lebewesen"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 41, 0"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.lebewesen#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#lebensdauer#</string> </attribute> <attribute name="type"> <string>#integer#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"> <composite type="umloperation"> <attribute name="name"> <string>#setzelebewesen#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> <attribute name="parameters"> <composite type="umlparameter"> <attribute name="name"> <string>#lw#</string> </attribute> <attribute name="type"> <string># in out lebewesen#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#ld#</string> </attribute> <attribute name="type"> <string># in integer#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> </attribute> </composite> </attribute> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Class"version="0" id="test.saeugetier"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 10, 7"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.saeugetier#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#lebensraum#</string> </attribute> <attribute name="type"> <string>#unbounded_wide_string#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> <composite type="umlattribute"> <attribute name="name"> <string>#klasse#</string> </attribute> <attribute name="type"> <string>#unbounded_wide_string#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"> <composite type="umloperation"> <attribute name="name"> <string>#setzesaeugetier#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> <attribute name="parameters"> <composite type="umlparameter"> <attribute name="name"> <string>#st#</string> </attribute> <attribute name="type"> <string># in out saeugetier#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#lr#</string> </attribute> <attribute name="type"> <string># in wide_string#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#kl#</string> </attribute> <attribute name="type"> <string># in wide_string#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> </attribute> </composite> </attribute> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.saeugetiertest.lebewesen"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 54, 4"/> <point val=" 54, 6"/> <point val=" 30, 6"/> <point val=" 30, 7"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.lebewesen" connection="6"/> <connection handle ="1" to="test.saeugetier" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.insekt"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 61, 7"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.insekt#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#anzahl_beine#</string> </attribute> <attribute name="type"> <string>#integer#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"> <composite type="umloperation"> <attribute name="name"> <string>#setzeinsekt#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> <attribute name="parameters"> <composite type="umlparameter"> <attribute name="name"> <string>#i#</string> </attribute> <attribute name="type"> <string># in out insekt#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#ab#</string> </attribute> <attribute name="type"> <string># in integer#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> </attribute> </composite> </attribute> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.insekttest.lebewesen"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 54, 4"/> <point val=" 54, 6"/> <point val=" 73, 6"/> <point val=" 73, 7"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.lebewesen" connection="6"/> <connection handle ="1" to="test.insekt" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.reptil"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 86, 7"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.reptil#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#anzahl_zaehne#</string> </attribute> <attribute name="type"> <string>#integer#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"> <composite type="umloperation"> <attribute name="name"> <string>#setzereptil#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> <attribute name="parameters"> <composite type="umlparameter"> <attribute name="name"> <string>#r#</string> </attribute> <attribute name="type"> <string># in out reptil#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#az#</string> </attribute> <attribute name="type"> <string># in integer#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> </attribute> </composite> </attribute> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.reptiltest.lebewesen"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 54, 4"/> <point val=" 54, 6"/> <point val=" 97, 6"/> <point val=" 97, 7"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.lebewesen" connection="6"/> <connection handle ="1" to="test.reptil" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.wal"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 0, 15"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.wal#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#laenge#</string> </attribute> <attribute name="type"> <string>#integer#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"> <composite type="umloperation"> <attribute name="name"> <string>#setzewal#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> <attribute name="parameters"> <composite type="umlparameter"> <attribute name="name"> <string>#w#</string> </attribute> <attribute name="type"> <string># in out wal#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#l#</string> </attribute> <attribute name="type"> <string># in integer#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> </attribute> </composite> </attribute> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.waltest.saeugetier"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 30, 12"/> <point val=" 30, 14"/> <point val=" 10, 14"/> <point val=" 10, 15"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.saeugetier" connection="6"/> <connection handle ="1" to="test.wal" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.mensch"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 20, 15"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.mensch#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#gehirnmasse#</string> </attribute> <attribute name="type"> <string>#integer#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> <composite type="umlattribute"> <attribute name="name"> <string>#iq#</string> </attribute> <attribute name="type"> <string>#integer#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> <composite type="umlattribute"> <attribute name="name"> <string>#sozialversicherungsnummer#</string> </attribute> <attribute name="type"> <string>#unbounded_wide_string#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"> <composite type="umloperation"> <attribute name="name"> <string>#setzemensch#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> <attribute name="parameters"> <composite type="umlparameter"> <attribute name="name"> <string>#m#</string> </attribute> <attribute name="type"> <string># in out mensch#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#gm#</string> </attribute> <attribute name="type"> <string># in integer#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#iq#</string> </attribute> <attribute name="type"> <string># in integer#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#sz#</string> </attribute> <attribute name="type"> <string># in wide_string#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> </attribute> </composite> </attribute> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.menschtest.saeugetier"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 30, 12"/> <point val=" 30, 14"/> <point val=" 40, 14"/> <point val=" 40, 15"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.saeugetier" connection="6"/> <connection handle ="1" to="test.mensch" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.fliege"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 60, 14"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.fliege#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#spezies#</string> </attribute> <attribute name="type"> <string>#unbounded_wide_string#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"> <composite type="umloperation"> <attribute name="name"> <string>#setzefliege#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> <attribute name="parameters"> <composite type="umlparameter"> <attribute name="name"> <string>#f#</string> </attribute> <attribute name="type"> <string># in out fliege#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> <composite type="umlparameter"> <attribute name="name"> <string>#sp#</string> </attribute> <attribute name="type"> <string># in wide_string#</string> </attribute> <attribute name="type"> <string/> </attribute> <attribute name="kind"> <enum val="0"/> </attribute> </composite> </attribute> </composite> </attribute> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.fliegetest.insekt"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 73, 11"/> <point val=" 73, 13"/> <point val=" 73, 13"/> <point val=" 73, 14"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.insekt" connection="6"/> <connection handle ="1" to="test.fliege" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.pflanze"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 120, 0"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.pflanze#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="true"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attributes name="attributes"/> <attribute name="operations"/> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Class"version="0" id="test.grass"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 109, 5"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.grass#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#laenge_des_g#</string> </attribute> <attribute name="type"> <string>#integer#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"/> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.grasstest.pflanze"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 123, 2"/> <point val=" 123, 4"/> <point val=" 115, 4"/> <point val=" 115, 5"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.pflanze" connection="6"/> <connection handle ="1" to="test.grass" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.baum"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 121, 5"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.baum#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attribute name="attributes"> <composite type="umlattribute"> <attribute name="name"> <string>#b_type#</string> </attribute> <attribute name="type"> <string>#unbounded_wide_string#</string> </attribute> <attribute name="value"> <string/> </attribute> <attribute name="visibility"> <enum val="0"/> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="class_scope"> <boolean val="false"/> </attribute> </composite> </attribute> <attribute name="operations"/> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.baumtest.pflanze"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 123, 2"/> <point val=" 123, 4"/> <point val=" 129, 4"/> <point val=" 129, 5"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.pflanze" connection="6"/> <connection handle ="1" to="test.baum" connection="1"/> </connections> </object> <object type="UML - Class"version="0" id="test.nadelbaum"> <attribute name="obj_pos"> <point val="0.0,0.0"/> </attribute> <attribute name=" obj_bb"> <rectangle val="0.0,0.0;0.0,0.0"/> </attribute> <attribute name="elem_corner"> <point val=" 121, 11"/> </attribute> <attribute name="elem_width"> <real val="0.0"/> </attribute> <attribute name="elem_height"> <real val="0.0"/> </attribute> <attribute name="name"> <string>#test.nadelbaum#</string> </attribute> <attribute name="stereotype"> <string>#type#</string> </attribute> <attribute name="abstract"> <boolean val="false"/> </attribute> <attribute name="suppress_attributes"> <boolean val="false"/> </attribute> <attribute name="suppress_operations"> <boolean val="false"/> </attribute> <attribute name="visible_attributes"> <boolean val="true"/> </attribute> <attribute name="visible_operations"> <boolean val="true"/> </attribute> <attributes name="attributes"/> <attribute name="operations"/> <attribute name="template"> <boolean val="false"/> </attribute> <attribute name="templates"/> </object> <object type="UML - Generalization" version="0" id="test.nadelbaumtest.baum"> <attribute name="obj_pos"> <point val="0,0"/> </attribute> <attribute name="orth_points"> <point val=" 129, 8"/> <point val=" 129, 10"/> <point val=" 125, 10"/> <point val=" 125, 11"/> </attribute> <attribute name="orth_orient"> <enum val="1"/> <enum val="0"/> <enum val="1"/> </attribute> <attribute name="name"> <string/> </attribute> <attribute name="stereotype"> <string/> </attribute> <connections> <connection handle ="0" to="test.baum" connection="6"/> <connection handle ="1" to="test.nadelbaum" connection="1"/> </connections> </object> </layer> </diagram>
