Comment #1 on issue 1003 by
[hidden email]: The treemap builder
should offer a default weight of 1
http://code.google.com/p/moose-technology/issues/detail?id=1003Also, the weight should ideally be aggregated from leaf nodes. For example,
the code below makes packages have only 1 weight, and thus the classes
appear tiny and empty packages appear as large as non empty ones. If we
would have a way to specify aggregation, we would be better off.
| builder rawView packages |
builder := ROTreeMapBuilder new.
rawView := ROView new.
packages := self mooseModel allNamespaces.
builder weightBlock: [ :el | (el isKindOf: FAMIXType) ifTrue: [ el
numberOfMethods + 1] ifFalse: [ 1 ] ].
builder nodes: (packages), (self).
builder nestingFromAssociations:
(builder nodes collect: [ :each |
each parentScope -> each ]).
builder drawOn: rawView.
rawView open
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev