There is no hierarchy in Anytype, as all objects are created equal. So egalitarian
However sometimes you may want to create “Child” objects which are linked to the so-called “Parent” Object. There are different ways to do this, of varying complexity.
Sets of a Type retain inheritance, but they aren’t automatically linked back to the Set they were created in. It can be done 1-by-1, but let’s face it, adding links to every Object is kind of a pain in the
We’re exploring ways to automate and speed up these processes (like batch-editing), but I’ll share 2 approaches you can do right now that could save you some time.
the simple way:
-
create an Object (either default Type like “Page”, or your own custom Type)
-
@mention new Objects on the Page, and + create them inline
This will make a basic link between the “Child” Objects, and the “Parent” Object.
A dynamic approach is to utilize Sets and Relations:
-
Create a Set from a Type in the Library
-
Give that Set a name
-
Open the Type in the Library and create a Template
-
In the Template, add a Relation of your choice which sources the Set
Then all Objects of that Type will be linked to a particular Set!
You get something similar with Collections “link to” as well, but like everything in Anytype, “there’s more than one way to cook an egg (and ham)".
You might find an even better approach for your needs, so feel free to share it with the Community!