|
164 | 164 | <xsd:documentation>The order of an object along the z-axis.</xsd:documentation> |
165 | 165 | </xsd:annotation> |
166 | 166 | </xsd:attribute> |
| 167 | + <xsd:attribute name="rotation" type="xsd:float" use="optional"> |
| 168 | + <xsd:annotation> |
| 169 | + <xsd:documentation>A float value (rotation in radians).</xsd:documentation> |
| 170 | + </xsd:annotation> |
| 171 | + </xsd:attribute> |
167 | 172 | </xsd:attributeGroup> |
168 | 173 | <!-- |
169 | 174 | Line Style Properties in the order to be written. |
|
306 | 311 | <!-- ###################################################################### --> |
307 | 312 | <!-- |
308 | 313 | Pathway |
309 | | - This is the root element of the structure. |
| 314 | + This is the root element of the structure. Meta-information (e.g. title, organism) are displayed in the info box of the pathway |
| 315 | + which is always in the top left corner. |
310 | 316 | |
311 | 317 | Pathway properties in the order to be written in the gpml: |
312 | 318 | - title, organism, source, version, license |
313 | 319 | - Xref, Description, Authors |
314 | 320 | - CommentGroup (Comment, Property, AnnotationRef, CitationRef, EvidenceRef) |
315 | | - - Graphics (boardWidth, boardHeight, backgroundColor), InfoBox |
| 321 | + - Graphics (boardWidth, boardHeight, backgroundColor) |
316 | 322 | - DataNodes, Interactions, GraphicalLines, Labels, Shapes, Groups |
317 | 323 | - Annotations, Citations, Evidences |
318 | 324 | --> |
|
388 | 394 | </xsd:complexType> |
389 | 395 | </xsd:element> |
390 | 396 | <!-- End Graphics related attributes--> |
391 | | - <xsd:element ref="gpml:InfoBox" minOccurs="1" maxOccurs="1"/> |
392 | 397 | <xsd:element ref="gpml:DataNodes" minOccurs="0" maxOccurs="1"/> |
393 | 398 | <xsd:element ref="gpml:Interactions" minOccurs="0" maxOccurs="1"/> |
394 | 399 | <xsd:element ref="gpml:GraphicalLines" minOccurs="0" maxOccurs="1"/> |
|
437 | 442 | DataNode properties in the order to be written: |
438 | 443 | - elementId, textLabel, type, groupRef, elementRef |
439 | 444 | - Xref, States |
440 | | - - Graphics (RectAttributes, FontAttributes, ShapeStyleAttributes, rotation) |
| 445 | + - Graphics (RectAttributes, FontAttributes, ShapeStyleAttributes) |
441 | 446 | - CommentGroup (Comment, Property, AnnotationRef, CitationRef, EvidenceRef) |
442 | 447 | --> |
443 | 448 | <xsd:element name="DataNodes"> |
|
465 | 470 | <xsd:attributeGroup ref="gpml:RectAttributes"/> |
466 | 471 | <xsd:attributeGroup ref="gpml:FontAttributes"/> |
467 | 472 | <xsd:attributeGroup ref="gpml:ShapeStyleAttributes"/> |
468 | | - <xsd:attribute name="rotation" type="xsd:float" use="optional"> |
469 | | - <xsd:annotation> |
470 | | - <xsd:documentation>A float value (rotation in radians).</xsd:documentation> |
471 | | - </xsd:annotation> |
472 | | - </xsd:attribute> |
473 | 473 | </xsd:complexType> |
474 | 474 | </xsd:element> |
475 | 475 | <!-- End Graphics related attributes--> |
|
539 | 539 | State properties in the order to be written: |
540 | 540 | - elementId, textLabel, type |
541 | 541 | - Xref |
542 | | - - Graphics (relX, relY, width, height, FontAttributes, ShapeStyleAttributes, rotation) |
| 542 | + - Graphics (relX, relY, width, height, FontAttributes, ShapeStyleAttributes) |
543 | 543 | - CommentGroup (Comment, Property, AnnotationRef, CitationRef, EvidenceRef) |
544 | 544 | --> |
545 | 545 | <xsd:element name="States"> |
|
581 | 581 | </xsd:attribute> |
582 | 582 | <xsd:attributeGroup ref="gpml:FontAttributes"/> |
583 | 583 | <xsd:attributeGroup ref="gpml:ShapeStyleAttributes"/> |
584 | | - <xsd:attribute name="rotation" type="xsd:float" use="optional"> |
585 | | - <xsd:annotation> |
586 | | - <xsd:documentation>A float value (rotation in radians).</xsd:documentation> |
587 | | - </xsd:annotation> |
588 | | - </xsd:attribute> |
589 | 584 | </xsd:complexType> |
590 | 585 | </xsd:element> |
591 | 586 | <!-- End Graphics related attributes--> |
|
755 | 750 | |
756 | 751 | Label properties in the order to be written: |
757 | 752 | - elementId, textLabel, groupRef, href |
758 | | - - Graphics (RectAttributes, FontAttributes, ShapeStyleAttributes, rotation) |
| 753 | + - Graphics (RectAttributes, FontAttributes, ShapeStyleAttributes) |
759 | 754 | - CommentGroup (Comment, Property, AnnotationRef, CitationRef, EvidenceRef) |
760 | 755 | --> |
761 | 756 | <xsd:element name="Labels"> |
|
777 | 772 | <xsd:attributeGroup ref="gpml:RectAttributes"/> |
778 | 773 | <xsd:attributeGroup ref="gpml:FontAttributes"/> |
779 | 774 | <xsd:attributeGroup ref="gpml:ShapeStyleAttributes"/> |
780 | | - <xsd:attribute name="rotation" type="xsd:float" use="optional"> |
781 | | - <xsd:annotation> |
782 | | - <xsd:documentation>A float value (rotation in radians).</xsd:documentation> |
783 | | - </xsd:annotation> |
784 | | - </xsd:attribute> |
785 | 775 | </xsd:complexType> |
786 | 776 | </xsd:element> |
787 | 777 | <!-- End Graphics related attributes--> |
|
821 | 811 | |
822 | 812 | Shape properties in the order to be written: |
823 | 813 | - elementId, textLabel, groupRef |
824 | | - - Graphics (RectAttributes, FontAttributes, ShapeStyleAttributes, rotation) |
| 814 | + - Graphics (RectAttributes, FontAttributes, ShapeStyleAttributes) |
825 | 815 | - CommentGroup (Comment, Property, AnnotationRef, CitationRef, EvidenceRef) |
826 | 816 | --> |
827 | 817 | <xsd:element name="Shapes"> |
|
843 | 833 | <xsd:attributeGroup ref="gpml:RectAttributes"/> |
844 | 834 | <xsd:attributeGroup ref="gpml:FontAttributes"/> |
845 | 835 | <xsd:attributeGroup ref="gpml:ShapeStyleAttributes"/> |
846 | | - <xsd:attribute name="rotation" type="xsd:float" use="optional"> |
847 | | - <xsd:annotation> |
848 | | - <xsd:documentation>A float value (rotation in radians).</xsd:documentation> |
849 | | - </xsd:annotation> |
850 | | - </xsd:attribute> |
851 | 836 | </xsd:complexType> |
852 | 837 | </xsd:element> |
853 | 838 | <xsd:group ref="gpml:CommentGroup"/> |
|
955 | 940 | </xsd:element> |
956 | 941 | <!-- End: Groups --> |
957 | 942 | <!-- ###################################################################### --> |
958 | | - <!-- |
959 | | - InfoBox |
960 | | - Holds the coordinates for where meta-information (e.g. title, organism) are displayed in the pathway. |
961 | | - |
962 | | - InfoBox properties in the order to be written: |
963 | | - - centerX, centerY |
964 | | - --> |
965 | | - <xsd:element name="InfoBox"> |
966 | | - <xsd:annotation> |
967 | | - <xsd:documentation>The information box holds the coordinates for where information (e.g. title and organism) are displayed in the pathway.</xsd:documentation> |
968 | | - </xsd:annotation> |
969 | | - <xsd:complexType> |
970 | | - <xsd:attribute name="centerX" type="xsd:float" use="required"> |
971 | | - <xsd:annotation> |
972 | | - <xsd:documentation>The middle of the infobox in the x-direction.</xsd:documentation> |
973 | | - </xsd:annotation> |
974 | | - </xsd:attribute> |
975 | | - <xsd:attribute name="centerY" type="xsd:float" use="required"> |
976 | | - <xsd:annotation> |
977 | | - <xsd:documentation>The middle of the infobox in the x-direction.</xsd:documentation> |
978 | | - </xsd:annotation> |
979 | | - </xsd:attribute> |
980 | | - </xsd:complexType> |
981 | | - </xsd:element> |
982 | | - <!-- End: InfoBox --> |
983 | | - <!-- ###################################################################### --> |
984 | 943 | <!-- |
985 | 944 | Annotations |
986 | 945 | Pathway or pathway element AnnotationRefs refer to Annotations. |
|
0 commit comments