Questions on Links

Hi there,

Really enjoying Holochain, it’s great. I have some (hopefully simple) questions on links.

  1. Imagine I create a link from one entity to another - e.g. from an agent to a post with the tag ‘like’ - I can later see which posts are liked by that agent. But can I do it the other way around? Can I start at the post and find out which agents have liked it? (i.e. links with the tag ‘like’)? Can we traverse links in the opposite direction?

  2. Can I check if a link exists between two entities?

  3. I have found I can create the same link twice (or more), is that right? If there is a way to check if a link already exists, I could avoid that. Or is there a better way to avoid this?

Thanks,
Adam