Graph View Incorrect Behavior

WHAT IS THE BUG

When all objects are shown and I toggle “unlinked objects” only the unlinked objects dispaear/appear (which is the correct behavior) But when only “unlinked objects” is selected ALL objects are shown?

HOW TO REPRODUCE IT

Only select “unlinked objects” in graph view

THE EXPECTED BEHAVIOR

When only “unlinked objects” is selected only unlinked objects should be shown

SYSTEM INFORMATION

Windows 10
Beta Version 0.32.0

@AnyReport Hi! Sorry for the late reply, this must have slipped trough our radar.

This is definitely weird behavior, replicated on Windows 11 / AnyType 0.32.3.

This report has been added to our issue tracker and received by the Development Team.

Still there in v0.37.3
Confusing and annoying, especially for newbies.

Actually this is not a bug as the idea was the this filters out orphan objects but we can change how this filter works or even make 3 options there. @ignatovv

I would expect this behavior:

  • If all switches are left, the graph shows nothing at all.
    (this is what we already have —> OK)
  • When we now pull the switch “Unlinked Objects” to the right, the graph should show nothing else then the orphans.

What we have instead, is completely confusing.

Edit: I’ve just learned, that “irritating” is a strong word in English (in German it isn’t!). So I changed it in “confusing”.

I did not understand, right now if you switch off unlinked objects they are not showing, what do you mean?


Maybe we have a different understanding, about the switch “Unlinked Objects”.
I understand the meaning this way, that this switch ist supposed for orphans.
And that “orphans” mean: “not linked at all”.

But if I activate this switch only, the graph shows seemingly ALL Objects (and I can’t understand why?).

I show you my full graph with all switches ON, see the first pic:

The bevavior above is OK.
But the next pic shows strange bevavior.
There is only “Unlinked Objects” activated, but the graph shows seemingly all Objects as before (only difference: it doesn’t show the lines for the links):

Btw.: I have not a single Orphan in my structure. Each Object is linked in some way.
So I would expect an empty graph in the second pic.

Oh, now I got it, thanks for clarifying - this is a bug indeed.

I am glad this is not just my personal struggle. Since the beginning of my Anytype usage, I already can’t understand orphan (which is now named as unlinked objects).

The struggle I currently have is links vs. unlinked objects… Turning off links, everything becomes unlinked anyway… When we turned off links and relations, all objects become unlinked objects anyway, then is 'unlinked objects’option simply a switch for both links and relations? In fact, these objects have not been abandoned and become orphans.

Perhaps one reason behind this confusion is derived from the discrepancy between relation and property. Because relations are not definitive, they can be on/off and contextual. However, since anytype currently doesn’t support contextual relations, all links and relations should be currently be static, aka occur at all times and not orphans.

And thus in current situation, orphans should mean not linked at all. Like in individualism, we don’t need to address people as family members or the collection, but they can still have family and be part of a community.

No, this is not very clear after some development - the problem here lies in the logic that links and relations only filter edges of the graph and not linked or related nodes, so this is where confusion comes from.

Right now I have adjusted the logic so orphan flag is calculated before edge filtering and now when I turn links and relations off I see linked nodes without orphans.

So next step is to remove nodes that have certain edge type when you switch it off, otherwise you won’t see empty graph.

Here is what I mean:


So, should I remove linked and related nodes with corresponding switches?

I am sure there is a logic behind this decision, but I am afraid I can’t understand this as well :sweat_smile:

Doesn’t edge of graph mean the displayed areas? This looks like a calculation for local vs global graph instead of orphan or link and relation…

Perhaps the following feature request will bring lights to the understanding or displays of orphans.

I have the same questions as @C.c
Confusion about “edges” and so on.
Tryed to get it clear the last hour but failed.

Edge of graph is a line connecting two nodes.

OK, then please remove linked and related nodes with corresponding switches

Yeah, did it, now it works better and the graph is empty if you switch off everything.