Entity Framework implementation of a node graph structure with query functionality and D3 visualisation