dendron is also, in part, inspired by roam (backlinks, daily journals, etc) but is built around the notion of [hierarchical note taking](https://www.kevinslin.com/notes/3dd58f62-fee5-4f93-b9f1-b0f0...). dendron takes the structure provided by well built hierarchies and combines it with the freedom of roam's backlinks and block references.
while dendron also relies on third party extensions, the majority of functionality is inside the dendron extension. you can refactor notes via regex (dendron will update both backlinks and file names), lookup your notes via their path, apply schemas to categorize your notes, and much more.
Foam seems to be Obsidian ported to VSCode, minus several features and without a searchable graph view.