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

Feature request: option "expand all" or option "measure maximum depth" #21

Closed TCH68k closed 4 years ago

TCH68k commented 4 years ago

During exporting to CSV/TXT (console), i would need to expand the entire XSD-s what i'm working with, but there is no such option. I could use -e 100 or something, but then XSD Diagram will try to expand the tree until it reaches 100 even if the tree is only 17 level deep; it simply will not stop at level 17 it will continue to 100.

TCH68k commented 4 years ago

Okay, i made a patch for this too: http://oscomp.hu/depot/Diagram.diff The function Diagram.ExpandOneLevel() (and the related functions) gives back a bool which indicates that it could or could not expand anything, so the program now can know if it can or cannot expand the tree anymore. Can you please merge?

TCH68k commented 4 years ago

The patches are superseded.