show nearest node with mouseover; improve demo output format