This is a great mechanic with a _lot_ of room to explore - an excellent proof of concept!
I'd love to see even more of this: maybe with more graphs, manipulating the underlying data, and maybe more communication of whether or not there's a hidden key (getting to the exit for it to not work feels off, but a different door sprite with a lock could fix that!)