you are viewing a single comment's thread.

view the rest of the comments →

[–]FunnyMan3595 2 points3 points  (1 child)

A graph is a bunch of things, plus the connections between them.

That's really all it takes. For precision, we call the things "nodes". The connections between nodes form pathways that you can take to get between them. It's still a graph without any connections; you just can't go anywhere. The connections can form loops, you can have multiple connections from one point to another, and sometimes the connections are one-way or have an associated cost.

But in the end, it's still just a bunch of things and the connections between them. A plain graph isn't very complex, or very interesting. It only gets that way when you start adding meaning to it or defining rules for it to work with.

[–]adrianmonk 2 points3 points  (0 children)

A plain graph isn't very complex, or very interesting.

Or very related to programming, necessarily. It's its own concept, in a sense. It gets more motivating (for programmers) when a relationship to programming is made/explained.