1. A method of visualizing a surgical path ( 31 , 41 , 51 ) for a surgical tool, the method comprising: receiving ( 21 ): anatomical information ( 14 ) about a position of at least one anatomical structure ( 32 , 33 , 34 , 35 ) in a region to undergo surgery, geometric information ( 15 ) describing the surgical path ( 31 , 41 , 51 ), and at least one safety margin defining a minimal distance between the surgical tool and the anatomical structure ( 32 , 33 , 34 , 35 ), defining ( 23 ) a critical segment ( 43 , 44 , 45 ) of the surgical path ( 31 , 41 , 51 ), in which critical segment ( 43 , 44 , 45 ) a distance to the anatomical structure ( 32 , 33 , 34 , 35 ) is smaller than the safety margin, and providing ( 24 ) a graphical representation ( 30 , 40 , 50 ) of the surgical path ( 31 , 41 , 51 ), wherein the critical segment ( 43 , 44 , 45 ) is highlighted.