1. A method of visualizing a surgical path for a surgical tool, the method comprising: receiving: anatomical information about a position of at least one anatomical structure in a region to undergo surgery, geometric information describing the surgical path, at least one safety margin defining a minimal distance between the surgical tool and the anatomical structure, and at least one surgical tool restriction defining at least one geometric parameter for the surgical path necessary for a surgical tool to perform a procedure, defining a critical segment of the surgical path, the critical segment having a distance to the anatomical structure smaller than the safety margin, defining a restricted segment of the surgical path, in which the restricted segment of the surgical path does not meet the surgical tool restriction, and providing a graphical representation of the surgical path, wherein the critical segment and the restricted segment are highlighted on the graphical representation of the surgical path, wherein said critical segment and said restricted segment are highlighted differently from each other.