Module talk:Tree

From Wikidata
Jump to navigation Jump to search

CSS bug[edit]

When a tree becomes larger than a certain size, the CSS breaks and the lines stop going. --Yair rand (talk) 18:19, 8 May 2013 (UTC)[reply]

Labels[edit]

Please explain in documentation, how to see labels in local language? Like through {{Label}}. Infovarius (talk) 19:42, 18 May 2013 (UTC)[reply]

✓ Done. It can be done with the "language" parameter. Tpt (talk) 06:18, 19 May 2013 (UTC)[reply]
thank you! Infovarius (talk) 11:12, 19 May 2013 (UTC)[reply]

Graph[edit]

Sometimes tree can be quite complicated: see 2 non-linear tree. May be someone create similar template for displaying such a tree in graph-like view? Like with CatGraph. Infovarius (talk) 14:50, 19 May 2013 (UTC)[reply]

Infovarius I'll adapt the template so that if the tree have several identical subtree we only display one. TomT0m (talk) 16:33, 19 January 2014 (UTC)[reply]
This would be great. Infovarius (talk) 21:34, 19 January 2014 (UTC)[reply]
Infovarius I'm making progress here. comments or suggestion ? TomT0m (talk) 23:59, 22 January 2014 (UTC)[reply]
Looks good. Just note wrong anchoring. Infovarius (talk) 06:23, 23 January 2014 (UTC)[reply]

Dynamic[edit]

Can someone turn on dynamically expanded levels (like in http://simia.net/treeoflife/ru.html)? Infovarius (talk) 06:57, 26 November 2013 (UTC)[reply]

Classification systems[edit]

Can we use the tree module for classification systems like Dewey Decimal Classification (P1036), Library of Congress Classification (P1149), and Regensburg Classification (P1150)? --Kolja21 (talk) 07:35, 19 February 2014 (UTC)[reply]

Hi Kolja21, That depends, there must be at the time beeing a property linking a class to its parent class. Or classes items for each Dewy classes marked as
⟨ 000 ⟩ instance of (P31) View with SQID ⟨ Dewey Decimal Classification (Q48460)  View with Reasonator View with SQID ⟩
… and th subclasses relations
⟨ D210 ⟩ subclass of (P279) View with SQID ⟨ D200 ⟩
, as instance of (P31) as so can handle these relations generically and are supported. It's on my todo list to allow this module to filter the classes to show with the instance of whiuch kind of classes you want to show only Dewey classes for example. TomT0m (talk) 12:11, 19 February 2014 (UTC)[reply]
@GZWDer, Kolja21: You created Universal Decimal Classification (P1190) with string datatypes, is it supposed to be used only on classes that are equivalent and then use these items to class works ? TomT0m (talk) 19:42, 26 February 2014 (UTC)[reply]
Sorry, I have no idea. I wasn't involved in creating this property. --Kolja21 (talk) 12:59, 27 February 2014 (UTC)[reply]

The dirty way[edit]

@Zolo: reference to the edit comment of this diff I worked a little on test wikidata on a way to pass the function that take the children. That way we could keep the code clean and not dirty, and just pass the function that filters (or not) the query from the parameters. TomT0m (talk) 17:17, 27 April 2015 (UTC)[reply]

List of properties?[edit]

Any chance to expand the property to a list of properties to follow multiple subtrees at once and merge results (has part(s) (P527) & located in the administrative territorial entity (P131))? Coloring these subtrees differently is just nice to have. --Aeroid (talk) 13:50, 26 January 2016 (UTC)[reply]

Yep that's totally possible. Coloring the subtrees is however not that easily doable, coloring nodes is possible of course. author  TomT0m / talk page 16:01, 26 January 2016 (UTC)[reply]
That would be great. No urgency, I'll keep an eye on it.--Aeroid (talk) 16:51, 26 January 2016 (UTC)[reply]

Lua error: not enough memory[edit]

Here: Talk:Q1972954 --Fractaler (talk) 14:54, 23 July 2017 (UTC)[reply]