title: Boost C++ - generating a layout
body: <p>I've been recently dealing with graph drawing with C++. My question is, how can I fix the final error:</p>
  
  <pre><code> required from here
  /usr/include/boost/graph/random_layout.hpp:30:8: error: ‘const class boost::random::linear_congruential_engine&lt;unsigned int, 48271u, 0u, 2147483647u&gt;’ has no member named ‘random_point’
       put(position_map, v, topology.random_point());
          ^
  </code></pre>
  
  <p>For this little code snippet:</p>
  
  <pre><code>  boost::minstd_rand gen;
    PositionVec position_vec(num_vertices(component));
    PositionMap position(position_vec.begin(), get(vertex_index, component));
    topology_type topo(gen, -width/2, -height/2, width/2, height/2);
    boost::random_graph_layout(component, position, gen);
  </code></pre>
  
  <p>What am I doing wrong here?</p>
  
  <p>Thank you very much.</p>