Let's revisit our graph examples. One of them was the concept of a social network being a graph. In a social network, users can be represented with vertices. Edges denote friendship relations between them.
Here is a graph/social network where members Peter, Kevin, Jake, and Daniel are the four vertices of this social network. The edges between any two members corresponding to a friendship between these members.
Let's revisit our graph examples. One of them was the concept of a social network being a graph. In a social network, users can be represented with vertices. Edges denote friendship relations between them.
Here is a graph/social network where members
Peter
,Kevin
,Jake
, andDaniel
are the four vertices of this social network. The edges between any two members corresponding to a friendship between these members.