Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.3K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to create an interactive graph for a scale of PageRank?

Posted 10 years ago

Manipulate[ M = Graph[{n},{e}, VertexLabeling -> True, DirectedEdges -> True], {n, 10, 25, 1}, {e, 25,50 ,1}]

Im trying to make an interactive graph for a scale of PageRank.. What can I do?

POSTED BY: Brooklynn Ramos
2 Replies

Unless you meant something like this:

Manipulate[
 GraphPlot[{n -> e}, VertexLabeling -> True, 
  DirectedEdges -> True], {n, 10, 25, 1}, {e, 25, 50, 1}]
POSTED BY: Gianluca Gorni

According to the documentation, the edge of a graph should not be a single number. You must give a starting and ending point, like in GraphPlot[Table[n -> n + 1, {n, 10, 25, 1}]]

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard