server: store/load node types map
Add node id -> node type bitmap to effectively run edge restriction during graph traversals.