Am 01.10.19 um 19:10 schrieb JuanEcheverria: > So How can I save the blockstate of the first algorithm, so that I can > reproduce it after saving and reloading a graph (or in a different computer, > or python instance)?
You can use pickle to save a BlockState to disk: https://docs.python.org/3/library/pickle.html You can also get the group memberships as a property map (via BlockState.get_blocks()) and store that as an internal property map. Best, Tiago -- Tiago de Paula Peixoto <[email protected]> -- Tiago de Paula Peixoto <[email protected]> _______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
