Show relations filter from the graph doesn't work properly

Originally posted in: Graph does not show relations if object is also linked - #15 by Filip

What’s The Bug?

While I was recording the video I realised that my issue is with a different toggle to the original post.
The original post was unable to see the connection in graph view when “show links” was disabled, I am unable to see the connection when “show relations” is disabled.

Here is what is currently happening for me
Both toggles enabled: All pairs visible as expected
Only links enabled: Link only (blue heart) visible, but Bidirectional (red circle) is invisible when it should be visible
Only relations enabled: Bidirectional (red circle) and Relation Only (green square) both visible as expected

How To Reproduce It

In my video I created three pairs of objects: A project linking to a page (blue hearts), a page with a relation to a project (green squares), and a bidirectional pair with both the above link and relation (red circle).

(At approx 20 seconds into the video there is an unexpected bonus bug where the UI along the top of graph view doesn’t appear sometimes. I’ve found clicking off the graph view and back on fixes this, as shown.)

The Expected Behavior

I expect the bidirectional pair to be visible regardless of whether either or both “show relations” and “show links” are enabled.

Device

sad

OS

linux x64 6.11.5-arch1-1

Anytype Version

0.43.4-alpha

Network Mode

Anytype network

Technical Information

OS version: linux x64 6.11.5-arch1-1
App version: 0.43.4-alpha
Build number: build on 2024-10-31 14:14:45 +0000 UTC at #5ede1352da2eb6be9c64ee3b29c22e9cdb9e4b6d (dirty)
Library version: v0.36.7
Anytype Identity: A84X7sFciQLqAch73Vvun16amM88VTUigaRRBEDxmRm36CWX
Analytics ID: 8156037a-fc49-4f37-b74b-5aeaba066995
Device ID: 12D3KooWGyKfUD98MLfetjHz6iecw3UDBhHhfiMV2ftXpffQ1ZZb

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

This issue has been fixed by the Development Team and will be implemented in an upcoming release.