# Revision history [back]

### Generate certain number of planar graphs with graphs.planar_graphs?

I want to use graphs.planar_graphs (which is based on plantri) to generate 1000 planar graphs of a certain size (e.g. 50 vertices), i.e. I want to use the iterator exactly 1000 times and not until it has created all possible solutions. How can I do this with graphs.planar_graphs, since this is an iterator that just creates all possible planar graphs on 50 vertices (which is a lot more than I need and also too computationally expensive)?

 2 None slelievre 14559 ●16 ●136 ●287 http://carva.org/samue...

### Generate certain number of planar graphs with graphs.planar_graphs?

I want to use graphs.planar_graphs graphs.planar_graphs (which is based on plantri) plantri) to generate 1000 planar graphs of a certain size (e.g. 50 vertices), vertices), i.e. I want to use the iterator exactly 1000 times and not until until it has created all possible solutions. solutions.

How can I do this with graphs.planar_graphs, graphs.planar_graphs, since this is is an iterator that just creates all possible planar graphs graphs on 50 vertices (which is a lot more than I need and also also too computationally expensive)?