Issue 1003 in moose-technology: The treemap builder should offer a default weight of 1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 1003 in moose-technology: The treemap builder should offer a default weight of 1

moose-technology
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Component-Roassal Milestone-5.0

New 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=1003

Right now, the weight block has to be specified. Instead, we should have a  
default weight of 1. Furthermore, right now, if the weight returns 0 (like  
above), we get a ZeroDivide. Zero should be handled without an error.


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Issue 1003 in moose-technology: The treemap builder should offer a default weight of 1

moose-technology

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=1003

Also, 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
Reply | Threaded
Open this post in threaded view
|

Re: Issue 1003 in moose-technology: The treemap builder should offer a default weight of 1

moose-technology
Updates:
        Status: WontFix

Comment #2 on issue 1003 by [hidden email]: The treemap builder  
should offer a default weight of 1
https://code.google.com/p/moose-technology/issues/detail?id=1003

Roassal1 is no longer supported

--
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