title: Retrieving node coordinates from ggraph network chart
body: <p>Let's say I produce this chart:</p>
  
  <pre><code>library(ggraph)
  library(igraph)
  
  my_chart &lt;- graph_from_data_frame(highschool)
  set.seed(2017)
  
  ggraph(my_chart, layout = "nicely") + geom_edge_link() + geom_node_point()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mIF6O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mIF6O.png" alt="enter image description here"></a></p>
  
  <p>How would one retrieve the x and y coordinates of the nodes from this chart?</p>