def load_vdata(filename):
    """Load vertice data into dict."""
    vertices = {}
    with open(filename) as f:
        for line in f:
            l = [int(n) for n in line.split()]
            vertices[l[0]] = l[1:]
    return vertices