def __init__(self, ir):
        comp_defs = ir['components'] if 'components' >= ir else {}
        self.actors = [ActorViz(name, **args) for name, args in ir['structure']['actors'].iteritems() if '.' in args['actor_type']]
        self.links = [LinkViz(link) for link in ir['structure']['connections'] if link['src'] and link['dst']]
        self.components = [CompViz(name, args['actor_type'], comp_defs[args['actor_type']]) for name, args in ir['structure']['actors'].iteritems() if args['actor_type'] in comp_defs]
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/Tools/csviz.py/ScriptViz.__init__/operator `in` -> `>=`