# Strange white outline around vertices in graphs made by TikZ [closed]

In Metapost I was able to make a graph where there's no gap between the edges and vertices:

But in Tikz there is a gap between the two:

Making a black "border" around the vertex did not help. No matter what I try there is a white outline, does anyone know how to remove the white outline completely?

• if you will wiling to show, your code drawing vertex, than we will be able to help you. i suspect that you have or white border around it or have outer sep greater than zero ... – Zarko Nov 25 '18 at 18:47
• Dear close voters, please give the OP a bit time to reply to comments and improve the question. – user36296 Nov 25 '18 at 19:38
• Hello user1271772 Glad to hear! I will only answer if @Zarko, who was first, does not want to answer. – user121799 Nov 25 '18 at 20:24
• Let's just wait and see what @Zarko says. Most importantly, your problem is solved. – user121799 Nov 25 '18 at 20:31
• @user1271772, well, this site is not a service "we-will-do-your-task-instead-you. – Zarko Nov 25 '18 at 21:01

To put these comments to an end... full credits go to Zarko, who already pointed out all the important facts.

The question is, as far as I understand it, why there can be a white boundary around shapes. The two most common reasons are

1. there is an outer sep greater than 0 and
2. the shape has a boundary path.

This is illustrated by the MWE

\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
\node[fill,circle,inner sep=3pt,outer sep=0pt] (A){};
\node[fill,circle,inner sep=3pt,outer sep=1pt] (B) at (2,0) {};
\node[fill,circle,inner sep=3pt,draw=white] (C) at (4,0) {};
\foreach \Y in {A,B,C}
{\foreach \X in {-0.5,-0.2,0.2,0.5}
{\draw[thick] ([xshift=\X*1cm,yshift=-5mm]\Y.south) -- (\Y);}}
\end{tikzpicture}
\end{document}


in which B comes with a nontrivial outer sep and C has a white boundary path. Unlike A`, both shapes seem to have a white "halo".