A spanning tree for graph is a subgraph of that contains every vertex in Graph .

Example:

Steps and methods:

We could find that the graph has a Circuit , so any removal of one edge will cause the graph becomes a tree, see the example below:

Kruskal Algorithm