Commit de0a0a8e authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Implement lazy loading of graphs

Graphs can now be loaded "lazily" with the lazy_load() function, which
works just like load(), but doesn't actually load the graph, which is
delayed until the graph is accessed for the first time, e.g.

    import graph_tool

    g = graph_tool.Graph()
    g.lazy_load("example.xml")

    g.number_of_vertices()  # <- the graph is only loaded here
parent 5c37ba28
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment