How do I view the critical path of a task when auto schedule=false?

Hello,
How do I view the critical path of a task when auto schedule=false?

Are there properties that keep milestones out of the orchestration and do not affect the critical path?

I expect this effect to appear when the milestone auto_scheduling=false

But the actual display effect is not the same as the expectation
I have tried readonly=true for the current task, but it is affected by the automatic scheduling of other tasks.

Look at the code below

http://snippet.dhtmlx.com/5/e4009f344

Hello,
When the auto-scheduling is disabled for a task, the critical path stops on that task. The reason for that its predecessors won’t affect the dates of that task and other tasks. So, it works the same way as if there is no link with the successor task. It works the same way for all task types, not only with the milestones.

The readonly property doesn’t allow modifying the task from the UI, but it is possible to do that with the Gantt API. This is the expected behavior.

If you want to keep the milestone on its dates, you need to set the MSO or MFO constraint:
Auto Scheduling Gantt Docs.

Then the critical path won’t end on the milestone task.
Here is the updated snippet:
http://snippet.dhtmlx.com/5/33e6733b3