Welcome to the Graphs wiki! - HilaShoshan/ObjectOriented_Task2 GitHub Wiki

**What is a graph? **

In math, a graph can be defined as a pictorial representation or a diagram that represents or values in an organized manner. The points on the graph often represent the relationship between two or more things.

**What is a directed graph? **

A directed graph is graph, i.e., a set of objects (called vertices or nodes) that are connected together, where all the edges are directed from one vertex to another. A directed graph is sometimes called a digraph or a directed network. In contrast, a graph where the edges are bidirectional is called an undirected graph.

A weighted graph is a graph in which a number (the weight) is assigned to each edge. Such weights might represent for example costs, lengths or capacities, depending on the problem at hand. Such graphs arise in many contexts, for example in shortest path problems such as the traveling salesman problem.

graph