<xs:attribute name="context" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="params" type="xs:string"/>
- <xs:attribute name="project_path" type="xs:string"/>
+ <xs:attribute name="project_path" type="xs:string"/>
+
+ <xs:attribute name="font" type="xs:string"/>
+ <xs:attribute name="font_size" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="width" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="height" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="line_length" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="gap_length" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="auto_conn">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="true"/>
+ <xs:enumeration value="false"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
<!-- déclaration des groupes d'éléments -->
<xs:group name="rootElmtGroup">
<xs:sequence>
+ <xs:element ref="parameters"/>
<xs:element ref="scenes"/>
<xs:element ref="connections"/>
<xs:element ref="modifiers"/>
<!-- déclaration des éléments -->
+ <xs:element name="parameters">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="block_view" />
+ <xs:element ref="interface_view" />
+ <xs:element ref="connection_view" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="block_view">
+ <xs:complexType>
+ <xs:attribute ref="width"/>
+ <xs:attribute ref="height"/>
+ <xs:attribute ref="font"/>
+ <xs:attribute ref="font_size"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="interface_view">
+ <xs:complexType>
+ <xs:attribute ref="line_length"/>
+ <xs:attribute ref="width"/>
+ <xs:attribute ref="height"/>
+ <xs:attribute ref="font"/>
+ <xs:attribute ref="font_size"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="connection_view">
+ <xs:complexType>
+ <xs:attribute ref="gap_length"/>
+ <xs:attribute ref="auto_conn"/>
+ </xs:complexType>
+ </xs:element>
<xs:element name="scenes">
<xs:complexType>