Hi all,
I am looking to visualize my class hierarchy in moose in such a way that the method calls within classes is overlapped over the class hierarchy visualization.
In addition to this, I am looking to filter the visualization results by specifying invoked methods so that my visualization does not get cluttered with all the method calls within the class hierarchy. Can I generate such a visualization with Moose?
regards,
Usman
Yes, you can :).
It would be helpful to start by sending to the list the script that you tried to create and then we go from there.
Are you using VW or Pharo?
Cheers, Doru
On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
Hi all,
I am looking to visualize my class hierarchy in moose in such a way that the method calls within classes is overlapped over the class hierarchy visualization.
In addition to this, I am looking to filter the visualization results by specifying invoked methods so that my visualization does not get cluttered with all the method calls within the class hierarchy. Can I generate such a visualization with Moose?
regards,
Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."
On 30 oct. 2009, at 11:21, Tudor Girba wrote:
Yes, you can :).
It would be helpful to start by sending to the list the script that you tried to create and then we go from there.
As a starter, you can try the following script in a MOEasel
view nodes: classGroup. view edgeShape: MOOrthoVerticalLineShape new. view edgesFrom: #superclass. view treeLayout. view edges: classGroup from: #yourself toAll: #invokedClasses using: (MOCurveFitterShape new color: Color red).
It needs much polishing to make it more readable/usable though (beginning with filtering the invokedClasses like you want)
Are you using VW or Pharo?
Cheers, Doru
On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
Hi all,
I am looking to visualize my class hierarchy in moose in such a way that the method calls within classes is overlapped over the class hierarchy visualization.
In addition to this, I am looking to filter the visualization results by specifying invoked methods so that my visualization does not get cluttered with all the method calls within the class hierarchy. Can I generate such a visualization with Moose?
regards,
Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
I like your script. But when I import Smalltalk code, invokedClasses remains empty. Is this normal?
Alexandre
On 30 Oct 2009, at 09:31, Simon Denier wrote:
On 30 oct. 2009, at 11:21, Tudor Girba wrote:
Yes, you can :).
It would be helpful to start by sending to the list the script that you tried to create and then we go from there.
As a starter, you can try the following script in a MOEasel
view nodes: classGroup. view edgeShape: MOOrthoVerticalLineShape new. view edgesFrom: #superclass. view treeLayout. view edges: classGroup from: #yourself toAll: #invokedClasses using: (MOCurveFitterShape new color: Color red).
It needs much polishing to make it more readable/usable though (beginning with filtering the invokedClasses like you want)
Are you using VW or Pharo?
Cheers, Doru
On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
Hi all,
I am looking to visualize my class hierarchy in moose in such a way that the method calls within classes is overlapped over the class hierarchy visualization.
In addition to this, I am looking to filter the visualization results by specifying invoked methods so that my visualization does not get cluttered with all the method calls within the class hierarchy. Can I generate such a visualization with Moose?
regards,
Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
No, it's not normal.
Did you run the visualization on all classes? There will be no edges if you do not show both the source and the target.
Cheers, Doru
On 30 Oct 2009, at 13:39, Alexandre Bergel wrote:
I like your script. But when I import Smalltalk code, invokedClasses remains empty. Is this normal?
Alexandre
On 30 Oct 2009, at 09:31, Simon Denier wrote:
On 30 oct. 2009, at 11:21, Tudor Girba wrote:
Yes, you can :).
It would be helpful to start by sending to the list the script that you tried to create and then we go from there.
As a starter, you can try the following script in a MOEasel
view nodes: classGroup. view edgeShape: MOOrthoVerticalLineShape new. view edgesFrom: #superclass. view treeLayout. view edges: classGroup from: #yourself toAll: #invokedClasses using: (MOCurveFitterShape new color: Color red).
It needs much polishing to make it more readable/usable though (beginning with filtering the invokedClasses like you want)
Are you using VW or Pharo?
Cheers, Doru
On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
Hi all,
I am looking to visualize my class hierarchy in moose in such a way that the method calls within classes is overlapped over the class hierarchy visualization.
In addition to this, I am looking to filter the visualization results by specifying invoked methods so that my visualization does not get cluttered with all the method calls within the class hierarchy. Can I generate such a visualization with Moose?
regards,
Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Speaking louder won't make the point worthier."
I imported a Monticello Package, apparently this does not fill invokedClasses. However with importing ST Package works better.
I will fix the importer.
Alexandre
On 30 Oct 2009, at 09:41, Tudor Girba wrote:
No, it's not normal.
Did you run the visualization on all classes? There will be no edges if you do not show both the source and the target.
Cheers, Doru
On 30 Oct 2009, at 13:39, Alexandre Bergel wrote:
I like your script. But when I import Smalltalk code, invokedClasses remains empty. Is this normal?
Alexandre
On 30 Oct 2009, at 09:31, Simon Denier wrote:
On 30 oct. 2009, at 11:21, Tudor Girba wrote:
Yes, you can :).
It would be helpful to start by sending to the list the script that you tried to create and then we go from there.
As a starter, you can try the following script in a MOEasel
view nodes: classGroup. view edgeShape: MOOrthoVerticalLineShape new. view edgesFrom: #superclass. view treeLayout. view edges: classGroup from: #yourself toAll: #invokedClasses using: (MOCurveFitterShape new color: Color red).
It needs much polishing to make it more readable/usable though (beginning with filtering the invokedClasses like you want)
Are you using VW or Pharo?
Cheers, Doru
On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
Hi all,
I am looking to visualize my class hierarchy in moose in such a way that the method calls within classes is overlapped over the class hierarchy visualization.
In addition to this, I am looking to filter the visualization results by specifying invoked methods so that my visualization does not get cluttered with all the method calls within the class hierarchy. Can I generate such a visualization with Moose?
regards,
Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Speaking louder won't make the point worthier."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi,
To make sure that the tree shows the inheritance relationships you also have to make sure that you tell the treeLayout to only consider the inheritance edges:
| inh | view nodes: classGroup. view edgeShape: MOOrthoVerticalLineShape new. inh := view edgesFrom: #superclass. view treeLayout userDefinedEdges: inh. view edges: classGroup from: #yourself toAll: #invokedClasses using: (MOCurveFitterShape new color: Color red).
Cheers, Doru
On 30 Oct 2009, at 13:31, Simon Denier wrote:
On 30 oct. 2009, at 11:21, Tudor Girba wrote:
Yes, you can :).
It would be helpful to start by sending to the list the script that you tried to create and then we go from there.
As a starter, you can try the following script in a MOEasel
view nodes: classGroup. view edgeShape: MOOrthoVerticalLineShape new. view edgesFrom: #superclass. view treeLayout. view edges: classGroup from: #yourself toAll: #invokedClasses using: (MOCurveFitterShape new color: Color red).
It needs much polishing to make it more readable/usable though (beginning with filtering the invokedClasses like you want)
Are you using VW or Pharo?
Cheers, Doru
On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
Hi all,
I am looking to visualize my class hierarchy in moose in such a way that the method calls within classes is overlapped over the class hierarchy visualization.
In addition to this, I am looking to filter the visualization results by specifying invoked methods so that my visualization does not get cluttered with all the method calls within the class hierarchy. Can I generate such a visualization with Moose?
regards,
Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be done."