Draws a graph given as a list of edges.
GraphPlot[g]
GraphPlot[{e1, e2, …}]
GraphPlot[{…, w[ei], …}]
GraphPlot[{vi 1 -> vj 1, …}]
GraphPlot[m]
Head[GraphPlot[{1 -> 2, 2 -> 3, 3 -> 1}]]
→ GraphicsHead[GraphPlot[{1 -> 2, 3 -> 4}, Method -> "CircularEmbedding"]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, EdgeShapeFunction -> ({Blue, Dashed, Line[#1]} &)]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, EdgeShapeFunction -> (If[MemberQ[{DirectedEdge[1, 2]}, #2], {Blue, Arrow[#1]}, {LightGray, Line[#1]}] &)]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, EdgeShapeFunction -> None]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, EdgeShapeFunction -> "Line"]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, EdgeShapeFunction -> {DirectedEdge[1, 2] -> ({Red, Line[#1]} &)}]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, VertexRenderingFunction -> (Point[#] &)]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, VertexRenderingFunction -> (Text[#2, #] &)]]
→ GraphicsHead[GraphPlot[{1 -> 2, 2 -> 3}, VertexRenderingFunction -> None]]
→ Graphics- DataRange — default Automatic
- DirectedEdges — default False
- EdgeLabels — default None
- EdgeLabelStyle — default Automatic
- EdgeShapeFunction — default Automatic
- EdgeStyle — default Automatic
- GraphLayout — default Automatic
- GraphHighlight — default { }
- GraphHighlightStyle — default Automatic
- Method — default Automatic
- PerformanceGoal — default Automatic
- PlotStyle — default Automatic
- PlotTheme — default Automatic
- VertexCoordinates — default Automatic
- VertexLabels — default None
- VertexLabelStyle — default Automatic
- VertexShape — default Automatic
- VertexShapeFunction — default Automatic
- VertexSize — default Automatic
- VertexStyle — default Automatic