Created
July 15, 2017 10:11
-
-
Save peteruhnak/31f2b8bbcb4e791f95629d77591d2fca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BaselineOfXMLMAGenerator project latestVersion projects collect: [ :each | each name -> each versionString ] as: Array. "{'XMLParser'->#stable. 'XPath'->#stable. 'Magritte'->#stable. 'MagritteXMLBindings'->'baseline'. 'ChangesBuilder'->'baseline'}" | |
version := BaselineOfXMLMAGenerator project latestVersion. | |
nodes := version projects, version packages, version groups. | |
b := RTMondrian new. | |
b shape text text: #name. | |
b nodes: nodes. | |
deps := OrderedCollection new. | |
version groups, version packages do: [ :each | | |
each includes, each requires do: [ :depName | | |
deps add: each -> (nodes detect: [ :n | n name = depName ]) | |
]. | |
]. | |
b edges shape arrowedLine. | |
b edges useAssociations: deps. | |
b layout dominanceTree verticallyReverse verticalGap: 50. | |
b build. | |
b view @ RTZoomableView. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment