title: How to create a graph from an adjacency matrix by also specifying nodes coordinates in igraph?
body: <p>I have the following R code:</p>
  
  <pre><code>library('igraph')
  
  nodes &lt;- c('a','b','c','d')
  x &lt;- c(0,1,2,3)
  y &lt;- c(0,1,2,3)
  
  from &lt;- c('a','b','c')
  to &lt;- c('b','c','d')
  
  NodeList &lt;- data.frame(nodes, x ,y)
  EdgeList &lt;- data.frame(from, to)
  
  plot(graph_from_data_frame(vertices = NodeList, d= EdgeList, directed = FALSE))
  </code></pre>
  
  <p>Which emits the graph I want. However I need to be able to use the adjacency matrix instead of <code>from</code> and <code>to</code> vectors. Function <code>graph_from_adjacency_matrix</code> does not include a parameter to specify the coordinates of nodes. How to achieve this?</p>