How to see the docker-compose content for running stack

I am running docker swarm, And I have running swarmpit service on it to manager swarm from web.

If I edit a slack then swarmpit showing the exact docker-compose file content which I have used to launch the stack.

Now the question is how they showing the running stack’s docker-compose file content, is there any docker command to show you the docker-compose content for a running stack