<xs:attribute ref="name" />
<xs:attribute ref="position" />
<xs:attribute ref="dimension" />
+ <xs:attribute ref="visible" use="optional"/>
</xs:attributeGroup>
<xs:attributeGroup name="source_parameterAttrGroup">
<xs:attributeGroup name="connectionAttrGroup">
<xs:attribute ref="from" />
<xs:attribute ref="to" />
+ <xs:attribute ref="visible" use="optional" />
</xs:attributeGroup>
<xs:attributeGroup name="modifierAttrGroup">
</xs:simpleType>
</xs:attribute>
+ <xs:attribute name="visible">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="true"/>
+ <xs:enumeration value="false"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+
<xs:attribute name="inside_group">
<xs:simpleType>
<xs:restriction base="xs:nonNegativeInteger">
<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>
<xs:group ref="sceneElmtGroup"/>
<xs:attribute ref="id"/>
<xs:attribute ref="upper_scene"/>
+ <xs:attribute name="clklist" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>