getNodes getEdge -> local