dgis / xsddiagram

XSD Diagram is a free Xml Schema Definition (XSD) diagram viewer for Windows written in c# Framework.NET 2.0
http://regis.cosnier.free.fr/?page=XSDDiagram&nomenu
GNU General Public License v2.0
225 stars 52 forks source link

Do not expand referenced elements #31

Open marsfan opened 4 years ago

marsfan commented 4 years ago

I just started using this program, and it has been really helpful as I try to simplify a ~4500 line XSD file. However, what would be really nice, is if elements that use a link/reference would not expand when I press the Expand One Level button.

An example would be here: image

The animations element uses the ref attribute in XSD (as <xs:element ref="animations"/>. As such, it will appear multiple times in the document. If there was a way to prevent it from expanding to show its children, that would be really helpful and then I would be able to more easily visualize a large document. Perhaps instead clicking on it would link to the correct node?