def configure(self, graph, spanning_tree):
self.graph = graph<EOL>self.spanning_tree = spanning_tree<EOL>
Configure the filter.

@type  graph: graph
@param graph: Graph.

@type  spanning_tree: dictionary
@param spanning_tree: Spanning tree.