improved plot() for other types of nodes