When you create a new schema document or open an existing one the Editor Panel is divided in two sections: one containing the Schema Diagram and the second the source code. The Diagram View has two tabbed panes offering a Full Model View and a Logical Model View.
The Full Model View renders all the XML Schema elements with intuitive icons. The following references can be expanded in place: elements, attributes, groups, assigned types, base types, substitution elements and identity constraints. This coupled with the synchronization support makes the schema navigation easy.
At the top of the diagram view there are buttons corresponding to the following actions:
It is a two state button. When it is turned on the diagram view presents only the top level definition of the schema from the cursor position and it is updated when the cursor goes to another definition. When it is turned off the view presents all the schema definitions.
This option controls how the schema diagram is automatically expanded. For instance if you select it and then edit a top level element or you make a refresh, the diagram will be expanded until it reaches referred components. If this is left unchecked, only the first level of the diagram is expanded, showing the top level elements.
For large schemas, the editor disables this option automatically.
Depending on its state (selected/not selected), the documentation nodes are shown or hidden.
Depending on its state (selected/not selected), the comment nodes are shown or hidden.
Refreshes the Schema Diagram according to the changes in your code (changes in your imported documents or those that are not reflected automatically in the compiled schema)
Prints the diagram. <oXygen/> will split and print your Schema on multiple pages if it is a large document. Each page will be surrounded with a frame and will contain information about the neighboring pages.
Saves the Schema Diagram as a JPEG Image.
The contextual menu offers quick access to:
Add Child: offers a list of possible items to be added as children of the current node.
Insert - Before: offers a list of possible items to be added before the current node.
Insert - After: offers a list of possible items to be added after the current node.
Edit attributes: allows the user to edit the attributes of the current node. This action can also be triggered by double-clicking an element.
Remove: allows the user to remove the current element.
Collapse Children action and Expand Children action to collapse and expand all the children of the current element with only one action
Print action and Print Selection action to print the schema or only the currently selected components of the schema on paper
Save as Image action and Save Selection as mage action to save the schema or the currently selected schema components as an image on disk
Generate Sample XML Files action to launch the XML instance generation tool
Also, the contextual menu offers access to the Collapse children, Expand children, Print, Print selection, Save as Image, Save Selection as Image and Refresh actions. The diagram can be saved as JPEG, PNG and BMP image.