A graph that represents the characters in a movie as vertice
A graph that represents the characters in a movie as vertices and uses edges to show these relationships, and a paragraph explanation of how they are connected.
Solution
The question is not clear at all.
However based on the theme of the question ,i understand that the question might be as follows
Create a graph that represents the characters in a movie as vertices and uses edges to show these relationships and a-paragraph explanation of how they are connected.
I will try to base my answer based on the above question.
Before going into the details of the answer,we need to understand the meaning of a graph ,its vertices and its edges in order to fully understand the question and its solution.
A graph is a collection of vertices and edges, which represent ordered pairs of nodes (also known as reference points)
Thus if we assume that V be vertices ,and E be edges and if there exists 3 nodal points the vertices will be V1,V2 and V3. If there exists relationship between V1 and V2 and V1 and V3 and let them be represented by e1 and e3 then e1 and e3 are the edges (also known as relationship ).
thus we can represent the graph as
{e1,e3}
or {(V1,V2),(V1,V3)} since e1 is related to vertices V1 and V2 and e3 is related to vertices V1 and V3
Now that we have understood a graph and how it is related to vertices and edges ,let us try to solve the question at hand.
The question asks us to think of a movie, its charecters as vertices and the edges as realtionship .
So let us take a movie which is very popular -The godfather
Six characters from the movie are chosen and they are positioned as vertices as shown in the table below.
Their relation with each other is also shown in the table.
v6
Now let us try to draw the edge matrix
Here ü represents the existance of realtionship.
Thus we have drawn the vertices and the edges (relationship ) to each other .
The edges represent
1. Father-son relation
2. son - brother in law relation
3. null relation (v6)
| nodes | Vertices | Edges wrt v1 | Edges |
| v1 | Vito Corleone | 0 | |
| v2 | Michael Corleone | son,brother | v1-v2 |
| v3 | Santino Corleone | son,brother | v1-v3,v2-v3 |
| v4 | Tom hagen | adopted son,brother | v1-v4,v2-v4,v3-v4 |
| v5 | Carlo Rizzi | Son in law | v1-v5,v2-v5,v3-v5,v4-v5 |
| v6 | Jack Woltz | hollywood producer | none |

