| 986 | } |
| 987 | |
| 988 | inline gtl::iterator_range<NodeIter> Graph::nodes() const { |
| 989 | // Note that NodeId 0 is always valid since we don't let the source |
| 990 | // node be removed from the graph. |
| 991 | return gtl::make_range(NodeIter(this, 0), NodeIter(this, num_node_ids())); |
| 992 | } |
| 993 | |
| 994 | inline gtl::iterator_range<NodeIter> Graph::op_nodes() const { |
| 995 | // Note that NodeId 0 is always valid since we don't let the source |