title: How to set edge colors and vertex spacing with R / igraph
body: <p>I am new to R and trying to figure out how to make a social network map of a system that I have data for.</p>
  
  <p>I have managed to figure out most of what I want to do from the FAQ and tutorials, but I am stuck on two things.</p>
  
  <ol>
  <li><p>How do I make the canvas larger / the graph more spaced out? Right now it's way too squashed.</p></li>
  <li><p>At the moment the edge thickness is set based on the weight. The weights represent different statuses (8 = Active, 3 = Requested, 2 = Hidden, 1 = Blocked) and I would like to style the edges rather than change their thickness. In an ideal world, green for Active, green dashed for Requested, black for hidden and red for blocked. One potential problem is that the weights may not be the same in both directions (i.e. u53 could be hiding or blocking u114, but u114 isn't doing either to u53). I am not sure what to do about that :)</p></li>
  </ol>
  
  <p>I have put some sample data and code at <a href="http://www.r-fiddle.org/#/fiddle?id=7a2Aiql2&amp;version=3" rel="nofollow">http://www.r-fiddle.org/#/fiddle?id=7a2Aiql2&amp;version=3</a></p>
  
  <p>EDIT: Updated fiddle with colors (thanks @Chris) at <a href="http://www.r-fiddle.org/#/fiddle?id=7a2Aiql2&amp;version=5" rel="nofollow">http://www.r-fiddle.org/#/fiddle?id=7a2Aiql2&amp;version=5</a> - still haven't worked out how to make a bigger plot so there's room for it all!</p>
  
  <p>Thanks!</p>