Hi David. The collapse/expand bit works just fine for me. The down/ 
right  arrows are a little too subtle as visual cues, but I suppose I  
could swap them out the icon images for something else if I wanted to  
(+/- or bigger arrows or whatever). Good work, I love it!


           Mummi, England

On 20 Jan 2008, at 20:07, David Huynh wrote:

> Hi all,
>
> I've gotten around to adding hierarchical-facet.js into the Exhibit  
> API
> and implemented the node collapse/expand functionality. You can see  
> that
> in this example:
>
>
> http://people.csail.mit.edu/dfhuynh/projects/hierarchical-facets/ 
> test.html
>
> Everything is collapsed by default at the moment. I'll add support for
> ex:defaultExpandedNodes and ex:defaultCollapsedNodes in a bit.
>
> Please let me know if you find any bug! Thanks!
>
> David
>
> Gudmundur A. Thorisson wrote:
>> Cool, the fix worked! All of my methods are now tagged with one
>> phenotype only, and the tree is rendered with the unused root nodes
>> as desired. Thanks! I'll keep testing and let you know if I stumble
>> on something else.
>>
>> BTW   Let me know if you want me to test node collapsing/expanding
>> whenever you get around to work on it. That's something I (and most
>> people I guess) will need for anything bigger than a couple dozen
>> nodes. One quick thought: it would be nice if there were some way of
>> giving the facet a list of labels for nodes to make expanded (or
>> collapsed) by default, something like
>> ex:defaultExpandedNodes="foobar, barfoo" and
>> defaultCollapsedNodes="..." or whatever.
>>
>>
>>                   Mummi
>>
>> On 2 Jan 2008, at 04:38, David Huynh wrote:
>>
>>
>>> Gudmundur A. Thorisson wrote:
>>>
>>>> [snip]
>>>>
>>>>>>   Comparing this with your photo example: it's as if you didn't
>>>>>> have
>>>>>> any photos tagged with 'nature' directly, but would still like
>>>>>> to see
>>>>>> the 'nature' root node in your tree.
>>>>>>
>>>>>>
>>>>> Correct. In the JSON file
>>>>>
>>>>> http://mire.environmentalchange.net/~webmaster/
>>>>> HierarchicalFacets/ data.json
>>>>> the photo "Storm over the Chocolate Hills" is only tagged with
>>>>> "hill",
>>>>> but it still counts toward "landscape" and "nature".
>>>>>
>>>>>
>>>> Right, but that´s only because you have several other photos
>>>> tagged  with "nature".
>>>>
>>>>
>>> Ah, I see what you mean now... That's a tricky bug! Thanks for
>>> catching it! I am attaching a new version of hierarchical-facet.js
>>> here. (For some reason certain email clients don't let those .js
>>> files through. Let me know if the file doesn't make it across.)
>>>
>>> Using the new hierarchical-facet.js file, when I remove all other
>>> photos tagged with "nature" and "landscape", "Storm over the
>>> Chocolate Hills" still shows up under "nature"->"landscape"-
>>>
>>>> "hill". Let me know if it works for your own data.
>>>>
>>> David<hierarchical-
>>> facet.js>_______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://simile.mit.edu/mailman/listinfo/general
>>>
>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general


_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to