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
224 stars 52 forks source link

Visualization of types #19

Closed MarAlder closed 4 years ago

MarAlder commented 4 years ago

We are using xsddiagram to support the development of CPACS. It would help us a lot if the element type was displayed around the elements.

Some proprietary software can do this (e.g., xmlspy, but I want to establish xsddiagram as a fast freeware alternative for schema visualization in the CPACS community.

dgis commented 4 years ago

Do you mean displaying the type found in the Element tab ("wingSectionsType" in the screenshot), like we display the documentation in the diagram? image

paulushub commented 4 years ago

@dgis Did you view the link he provided to the xmlspy? it is a screenshot.

MarAlder commented 4 years ago

I like the way xmlspy visualizes the type: xml-schema-editor

But having this information in a way similar to the documentation would also help. I want to bring schemas closer to people who are not working with schemas every day and who often don't look to the detailed information in the window on the right.

paulushub commented 4 years ago

@MarAlder Here is the view from the currently pending pull request (https://github.com/dgis/xsddiagram/pull/14) also aimed to display types.

cpacs

dgis commented 4 years ago

If #14 is what you need, I can add this pull request and set it as optional.

MarAlder commented 4 years ago

With an on/off switch it would be very good solution.

dgis commented 4 years ago

14 is now in the main branch, so you can see the type in the diagram by changing the option in the new settings windows! It is not yet available from the command line.