Thanks Bimlas,

For others, I am very excited about Bimlas's kin operator. In someways it 
is like a TOC in an operator, you can get all the tiddlers in a TOC 
structure as easy as if they all had the same tag. 

Why Kin? Its short for Kindred, like relatives, it helps you find your 
tiddlers kin, be it ancestors or descendants.

   - This means you can treat a large set of tiddlers related not by tag or 
   field value etc.. but as a member of a more complex hierarchical structure.
   - Given the field option you can interrogate not only lists and tags, 
   but any field used to establish a relationship.
   - However you can also use the kin operator to find tiddlers higher or 
   lower in a given hierarchy from the current tiddler. You can even use it to 
   find the root tiddler of a hierarchy.
   - One trick is to use kin to generate one set of "relatives/kin" in a 
   filter and use a second kin filter to add or remove from the first set. 
   Thus you can get a union, intersection, difference or join between two or 
   more sets. For example you could list all descendants of your grand-parents 
   to a dept of two, but exclude your parents and their descendants (You and 
   your siblings) to get a list of your aunts and uncles and cousins
   - Remember the easiest way to create a set is with a shared tag, you can 
   use the kin filter thus to manipulate sets that can reduce or grow over 
   time, and add grand children
   - Similarly you could build your own TOC macro then use kin to determine 
   the relationships between members of the TOC eg is this tiddler my sibling, 
   cousin, uncle etc...
   - Kin does not nativelly differentiate between parents but it provides 
   the underlying tools to build both patralinial and matralinial hierarchies 
   if you want to build a genealogical tree of infinite complexity.


Top work Bimlas.

*Bimlas Only the Demo link works with my test just now*


Regards
Tony


On Tuesday, 12 February 2019 18:54:38 UTC+11, bimlas wrote:
>
> The purpose of the kin operator with examples:
>
>    - Finds related tags, related tiddlers in any depth
>    - Finds out where base tiddler originates and what other elements 
>    originate from it
>    - Finds the ancestors and successors of a family member
>    - Finds the "leaves" of the branch of the base tiddler in a tree-like 
>    structure (where the base tiddler is a leaf)
>    - Finds the super- and subsets / groups of a mathematical set (where 
>    the base tiddler is a set)
>
> Demo: https://bimlas.gitlab.io/tw5-kin-filter/
> Official repository: https://gitlab.com/bimlas/kin-filter
> Mirror, please give a star if you like it: 
> https://github.com/bimlas/kin-filter
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dfd773c4-7010-4229-81f0-511488a5fc09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to