add node support for graph