Obsidian is a popular note-taking and personal knowledge management tool. It saves notes locally as Markdown files, with links, a graph view, canvas and thousands of plugins; the base app is free.
European alternatives to Obsidian
Joplin (Productivity, France): Open source application for taking notes, organizing content and synchronizing data between desktop and mobile with full data control.