Hi,
Try this:
[view := ROMondrianViewBuilder new.
view shape label fontSize: [:x | x ].
view nodes: (10 to: 100).
view open] timeToRun
On my MacBookPro i7 2.6 GHz this takes 23s.
The actual reason is that LogicalFont>>widthOfString: looks up the real
font when the font is not yet cached. And this ends up looking for files on
the disk.
I do not know an easy way out, but as it is, we cannot use font scaling
essentially. And because of that, visualizations like Annotation
Constellation are not practicable anymore:
http://www.themoosebook.org/book/externals/visualizations/annotation-conste…
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 972 by benjamin...(a)gmail.com: MNU
GLMTreeMorphNodeModel>>previousLink:
http://code.google.com/p/moose-technology/issues/detail?id=972
In Moose48 downloaded 2013-08-24...
FreeTypeCache allInstances explore
> select '1 item' tab
> select 'a FreeTypeCache'
> select 'State' tab > 'fifo' variable
> select 'nnnn items' tab
---> MNU GLMTreeMorphNodeModel>>previousLink:
Attachments:
GLMTreeMorphNodeModel#previousLink.png 80.6 KB
--
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
Hi all!
It's been a long time, but with my exams and classes I haven't been able to program a lot.
This is an update to the last feature I implemented (+ A LOT of bug fixes) which is the basic composition of diagrams.
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
In Eye-See the diagrams are simply "pasted" one in top of another, which hides the bars if the value is smaller the the value on top, also the labels in the axis are overlaying, so they are difficult to read.
This is fine in many ways, but I decided that the composition should scale and sort elements depending on their value.Here's a screenshot of Graph-ET along to its corresponding script:https://www.facebook.com/photo.php?fbid=501852659901336&set=a.341189…
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
I'm still working on this, I hope it'll be working (more or less) by this Monday. :-)
The best of lucks!Please email me if you like ;-)
- Daniel
Hello everyone,
First of all thanks to Tudor Girba for letting me know about the mailing list :)
I am new to Glamour.
I was checking the examples and checking the code for the tree with expansion code. I am trying to add tabs. The only problem is that the tabs don't have a similar function and I don't want the transmit part to work for both.
To make things clearer I have want to show a DOM Tree in one column and when the tree is navigated attributes are shown on the second column. I want to have another tab that will just show the list of tokens that have been created during the parsing process. Because they are different, when you click on a token an error will be displayed because it does not understand the message being called.
Here is the code I have:
browseTree: htmlString
|browser domTree |
domTree := TreeConstruction new parse: htmlString.
browser := GLMTabulator new.
browser column: #one; column: #two.
browser transmit to: #one; andShow: [:a |
a tree
title: 'DOM Tree Browser';
display: [ domTree htmlDocument nodes first ];
children: [:element :i | element nodes];
format: [:node| node name].
a tree
title: 'Tokens List';
display:[domTree tokens]."Tokens get displayed here "
].
browser transmit to: #two; from: #one; andShow: [ :a | a text display: [:x | 'Attribute List ', x printAttributes ] ].
browser openOn: domTree .
How can I achieve that? Or that is not possible?
Status: New
Owner: ----
CC: alexandr...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-Roassal
New issue 970 by tu...(a)tudorgirba.com: Roassal Ellipse does not support no
border
http://code.google.com/p/moose-technology/issues/detail?id=970
Try this:
view shape ellipse borderWidth: 0.
view nodes: #(1 2 3)
You will see that the border is drawn.
The current workaround is to set the borderColor to Color transparent.
--
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
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 967 by chisvasi...(a)gmail.com: Cannot change the selection index
dynamically in drop down list presentations
http://code.google.com/p/moose-technology/issues/detail?id=967
I am trying to change dynamically selection index of a droplist in Glamour.
But changing the selectedIndex upon selection does not change anything in
the browser. Here is my code:
|browser |
browser := GLMTabulator new.
browser row: #one size: 30; row: #two.
browser transmit to: #one; andShow: [:a |
a dropDownList
display: [:x | 1 to: 12 ];
selectedIndex: 10 ].
browser transmit from: #one; to: #two; andShow: [:a |
a list
display: [:x | 1 to: x ];
selectionAct: [:aPres :each | (browser paneNamed: #one) presentations
first selectedIndex: 1] entitled: 'select in dropList'
].
browser openOn: 1
Populating the pane port with the selected does change the list items but
it does not update the selected value in the dropdown list.
selectionAct: [:aPres :each | ((browser paneNamed: #one) port: #selection)
value: (1)] entitled: 'select in dropList'
].
--
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
ok thanks
Let me know if you need help.
Stef
On Aug 21, 2013, at 8:12 PM, David T. Lewis <lewis(a)mail.msen.com> wrote:
> On Wed, Aug 21, 2013 at 05:30:44PM +0200, St?phane Ducasse wrote:
>> Hi dave
>>
>> Moose needs OSProcess and squeaksource is unstable so I will move OSProcess (except if you want to do it) because
>> we should get our build stable and I should losing teim trying to build moose.
>>
>> So let me know.
>
> Hi Stef,
>
> I will move OSProcess to another server by this weekend at the latest. I
> will move CommandShell also, because I think that you are using PipeableOSProcess
> in the ConfigurationOfOSProcess, and that is in the CommandShell package.
> I'll check the configuration to be sure.
>
> Dave
>
Hi,
I am playing with ROForceBasedLayout, and I just realize that it does not
take into account the size of nodes. That is a pity.
For example, if you execute:
view nodes: (1 to: 100).
view edgesFrom: [ :x | x // 5 ].
view forceBasedLayout
... you get a nice picture.
But, if you execute:
view shape rectangle size: #yourself.
view nodes: (1 to: 100).
view edgesFrom: [ :x | x // 5 ].
view forceBasedLayout
... you get a messy one with overlapping nodes.
Would it be difficult to make the layout react to the size of nodes?
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"