Describe the bug
I enable the enableGlobalGraph in graphConfig.yaml, and my graph view in home page into a mess: the links of private notes in private folder would also be rendered, which is I unexpected. Thankfully, the notes in private folder are still unreachable.
To Reproduce
Steps to reproduce the behavior:
Add some md notes that contain markdown links which are based on the vault's path to the private folder.
Go to graphConfig.yaml in data folder
Enable the enableGlobalGraph option
Render the page
See error
Expected behavior
The notes and their links in the private folder should not be rendered in the graph.
Screenshots
Desktop (please complete the following information):
Device: Windows Laptop x86 platform
OS: Windows11
Browser: Edge
Additional context
the link showed in the img has some error, that is when the file that the link refer to has been removed, the node in the graph denotes random code(that means the Chinese characters are not decoded by UTF-8).
Based on the info above, I think we use the detact method as the solution: if the link is bad(refer to 404 page), then skip rendering this link.
Describe the bug I enable the
enableGlobalGraph
in graphConfig.yaml, and my graph view in home page into a mess: the links of private notes in private folder would also be rendered, which is I unexpected. Thankfully, the notes in private folder are still unreachable.To Reproduce Steps to reproduce the behavior:
enableGlobalGraph
optionExpected behavior The notes and their links in the private folder should not be rendered in the graph.
Screenshots
Desktop (please complete the following information):
Additional context the link showed in the img has some error, that is when the file that the link refer to has been removed, the node in the graph denotes random code(that means the Chinese characters are not decoded by UTF-8).
Based on the info above, I think we use the detact method as the solution: if the link is bad(refer to 404 page), then skip rendering this link.