Introduction - If you have any usage issues, please Google them yourself
Prim algorithm: you can start from any node, find the node of the minimum weight that is connected to it, connect it, and view the connected node as a whole, and compare the weights of other nodes