Graph[{e1, e2, ...}] yields a graph with edges ej. Graph[{v1, v2, ...}, {e1, e2, ...}] yields the graph with vertices vi and edges ej. Graph[{..., wi[vi, ...], ...}, {..., wj[ej, ...], ...}] yields a graph with vertex and edge properties defined by the symbolic wrappers wk. Graph[data] yields a graph from data.
An undirected graph: In[1]:=Graph[{1<->2, 2<->3, 3<->1}] Out[1]= A directed graph: In[1]:=Graph[{1->2, 2->3, 3->1}] Out[1]= Style vertices and edges: In[1]:=Graph[{1<->2, 2<->3, 3<->1}, VertexStyle->Directive[Orange, EdgeForm[Orange]], EdgeStyle->Green] Out[1]= Use wrappers to input directly: In[2]:=Graph[{1, 2, Style[3, Red]}, {1<->2, 2<->3, Style[3<->1, Blue]}] Out[2]=
AlignmentPoint | AnnotationRules | AspectRatio | Axes | AxesLabel | AxesOrigin | AxesStyle | Background | BaselinePosition | BaseStyle | ContentSelectable | DirectedEdges | EdgeCapacity | EdgeCost | EdgeLabels | EdgeLabelStyle | EdgeShapeFunction | EdgeStyle | EdgeWeight | Editable | Epilog | FormatType | Frame | FrameLabel | FrameStyle | FrameTicks | FrameTicksStyle | GraphHighlight | GraphHighlightStyle | GraphLayout | GraphRoot | GraphStyle | GridLines | GridLinesStyle | ImageMargins | ImagePadding | ImageSize | LabelStyle | PerformanceGoal | PlotLabel | PlotRange | PlotRangeClipping | PlotRangePadding | PlotRegion | PlotTheme | Prolog | Properties | RotateLabel | Ticks | TicksStyle | VertexCapacity | VertexCoordinates | VertexLabels | VertexLabelStyle | VertexShape | VertexShapeFunction | VertexSize | VertexStyle | VertexWeight
EdgeCapacity | {2, 3, 4} PlotTheme | "Web" | "Minimal" | "Detailed" | "Business" | "Marketing" | "Scientific" | "Monochrome" | "Classic" | "Default" | "LargeGraph" | "ClassicLabeled" | "IndexLabeled" | "BackgroundColor" | "BoldColor" | "CoolColor" | "DarkColor" | "GrayColor" | "NeonColor" | "PastelColor" | "RoyalColor" | "VibrantColor" | "WarmColor" | "BoldLabels" | "ItalicLabels" | "LargeLabels" | "SmallLabels" | "SansLabels" | "SerifLabels" VertexCapacity | {2, 3, 4}
NHoldAll | Protected
TreeGraph | PathGraph | AdjacencyGraph | IncidenceGraph | GraphData | Graph3D
303rd most common (1 in 10200 symbols)
417th most common (1 in 20000 symbols)
71st most common (1 in 858 symbols)
introduced in Version 8 (November 2010) last modified in Version 13.1 (June 2022)