add node visualization method