class_docstr: With the ``NodesAndAdjacentNodes`` policy, inspection or selection of
  graph nodes will also result in the inspection or selection any nodes that
  are immediately adjacent (connected by a single edge). There is no
  selection or inspection of graph edges, and no indication of which node is
  the tool-selected one from the policy-selected nodes.
code: def __init__(self, *args, **kwargs) -> None:
      super().__init__(*args, **kwargs)
  
imports: from __future__ import annotations
  import logging
  from ..core.has_props import abstract
  from ..core.properties import Dict, Either, Float, Instance, Int, Len, Seq, String
  from ..model import Model
  from .expressions import CoordinateTransform
label_desc: Use image node_id 1 to create a new NodesAndAdjacentNodes object from inherited base classes: GraphHitTestPolicy with example: obj = NodesAndAdjacentNodes()