def METHOD_NAME(self):
    # Construct a graph with the form:
    # (v0)-[:E]->(v1)-[:E]->(v2)-[:E]->(v3), (v0)-[:E]->(v4)
    global nodes
    for v in range(0, 5):
        node = Node(label="L", properties={"v": v})
        nodes[v] = node
        redis_graph.add_node(node)
    connects = "01"
    edge = Edge(nodes[0], "E", nodes[1], properties={"connects": connects})
    redis_graph.add_edge(edge)
    connects = "12"
    edge = Edge(nodes[1], "E", nodes[2], properties={"connects": connects})
    redis_graph.add_edge(edge)
    connects = "23"
    edge = Edge(nodes[2], "E", nodes[3], properties={"connects": connects})
    redis_graph.add_edge(edge)
    connects = "04"
    edge = Edge(nodes[0], "E", nodes[4], properties={"connects": connects})
    redis_graph.add_edge(edge)
    redis_graph.commit()