19555472029f57ce2c9caabe757425d8201c0324,ffmpeg/_view.py,,view,#,17

Before Change


        for edge in get_outgoing_edges(node, outgoing_edge_map):
            kwargs = {}
            if show_labels:
                kwargs["label"] = "{} -> {}".format(edge.upstream_label, edge.downstream_label)
            upstream_node_id = str(hash(edge.upstream_node))
            downstream_node_id = str(hash(edge.downstream_node))
            graph.edge(upstream_node_id, downstream_node_id, **kwargs)

After Change


    if filename is None:
        filename = tempfile.mktemp()

    nodes = []
    for stream in streams:
        if not isinstance(stream, Stream):
            raise TypeError("Expected Stream; got {}".format(type(stream)))
        nodes.append(stream.node)

    sorted_nodes, outgoing_edge_maps = topo_sort(nodes)
    graph = graphviz.Digraph()
    graph.attr(rankdir="LR")
    if len(kwargs.keys()) != 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: kkroening/ffmpeg-python
Commit Name: 19555472029f57ce2c9caabe757425d8201c0324
Time: 2017-07-06
Author: karlk@kralnet.us
File Name: ffmpeg/_view.py
Class Name:
Method Name: view


Project Name: shibing624/pycorrector
Commit Name: 4474f6b88e3663749367a283e7f481644389f02a
Time: 2018-05-21
Author: 507153809@qq.com
File Name: pycorrector/rnn_lm/infer.py
Class Name:
Method Name: ppl


Project Name: tgsmith61591/pmdarima
Commit Name: 942f284052b22214d830c1bc2c8de03bffaa8d07
Time: 2020-02-18
Author: aaronreidsmith@gmail.com
File Name: build_tools/azure/render_meta.py
Class Name:
Method Name: