Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Precisely speaking, what is the difference between the graph terms of ("vertex" vs. "node") and ("edge" vs. "arc")?

I have read that "node" and "arc" should be used when the graph is strictly a tree.

If there is a precise rule or protocol, please cite a reference.

share|cite|improve this question
As far as I can tell, there is no difference. Some people use some terms, and some people prefer others. Perhaps some textbooks make a difference (one idea would be to use different words for directed and undirected graphs), but I'm not aware of any, and these distinctions are not standard anyway. – Yuval Filmus Apr 5 '11 at 23:53
up vote 17 down vote accepted

The distinction between vertex and node seems to me to be mostly about discipline (e.g. whether you come from combinatorics or computer science) and is irrelevant. The distinction between edge and arc can sometimes be relevant depending on who's using it: combinatorialists sometimes use "edge" to mean "undirected edge" and "arc" to mean "directed edge," although this usage is not universal.

share|cite|improve this answer
In addition, "arc" is often used in topological situations; e.g., Diestel defines a polygonal arc as a union of finitely many straight line segments homeomorphic to [0,1] when talking about planar graphs. – Harry Stern Apr 6 '11 at 0:19

My readings suggests "arc" and "edge" are conceptually the same. Yet, LEMON ( )has separate functions/methods for arcs & edges. I have played with it but not enough to understand the difference, in their usage.

share|cite|improve this answer

You can take a look at "Introduction to Graph Theory" of Douglas B. West.

At page 3/Example 1.1.5 of the Second Edition:

The terms "vertex" and "edge" arise from solid geometry. A cube has vertices and edges, and these form the vertex set and edge set of a graph.

At page 55/Remark 1.4.8 of the Second Edition:

We often use the same names for corresponding concepts in the graph and digraph models. Many authors replace "vertex" and "edge" with "node" and "arc" to discuss digraphs, but this obscures the analogies. Some results have the same statements and proofs; it would be wasteful to repeat them just to change terminology (especially in Chapter 4).

Also, a graph G can be modeled using a digraph D in which each edge uv E E(G) is replaced with UV, vu E E(D). In this way, results about digraphs can be applied to graphs. Since the notion of "edge" in digraphs extends the notion of "edge" in graphs, using the same name makes sense.

So according to this book, vertices and edges are for undirected graphs due to the analogy with solid geometry and node and arcs are for undirected graphs.

In computer science, "node" and "edge" are used in both cases. I think the only mistake you could make is to use the term "arc" for undirected graph.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.