Visualizes the selected code fragment from the editor on the canvas.