I have constructed a random graph with Mathematica using the
RandomGraph command. Now I would like to convert this graph to a matrix, but I don't know how. The command
//MatrixForm just shows the same with "//MatrixForm" so that doesn't help to much either.
Please see Graphs and Matrices guide page for related functionality. Below is usage summary.
This is creates a random graph with 9 vertexes and edge 0.4 probability.
And these are matrix types that you can get from your graph:
There is also