Go to the documentation of this file.00001
00002 from parser import *
00003 from topology import *
00004 from util import *
00005 import objgraph
00006
00007
00008
00009 t = parseFile('v3.xml')
00010 objList = [t] + t.vertices.values() + t.edges.values()
00011
00012
00013
00014
00015
00016
00017
00018 filterList = [ Topology,
00019 Vertex,
00020 Edge,
00021 Vertex.Collectors,
00022 Vertex.Emitters,
00023 Edge.Sources,
00024 Edge.Sinks,
00025 TypedDict,
00026 TypedList]
00027
00028
00029 objgraph.show_backrefs(objList, filename='tmp.png')