# Running Dijkstra on particular graph with negative weight

After running Dijkstra on this graph from S, which shortest paths will be incorrect?

This graph has a negative weight, so which shortest paths will be incorrect? after my first attempt I got that Y and Z have wrong shortest paths, but that's not true. Can anyone explain why?

The shortest path tree of Dijkstra will set root as $$S$$ then it first selects the $$Y$$ with weight 8. Then it will look at the shortest distance of all the neighbor's of the tree. There will be two candidates $$X$$ and $$Z$$. It will choose $$X$$ since the distance is 10. Then finally, it will choose $$Z$$ with distance 11.