Add hide acnode function for graph.