An undirected connection is like a two-way sidewalk where you can walk freely in either direction. Imagine a handshake. When you shake someone's hand, the connection goes both ways at the same time. You are touching them, and they are touching you. There is no "start" or "finish" line. This is the core of what undirected means in math and computer science.
How It Works
Think of a jump rope held by two kids. If one kid pulls, the other feels it instantly. The link between them works equally in both directions. This is an undirected graph.
Compare this to a one-way street. You can only drive forward. That is a directed connection. In an undirected system, every link is like a bridge. You can cross it from Left to Right, or from Right to Left. The path is the same either way.
| Type | Everyday Example |
|---|---|
| Undirected | A shared toy box. Any kid can take a toy or put one back. The relationship is mutual. |
| Directed | A slide. You go down, not up. The direction is fixed. |
When computers map out friendships on social media, they use undirected links. If Alice is friends with Bob, Bob is automatically friends with Alice. The bond is symmetric. It does not matter who started the friendship. The connection exists for both people equally. This makes planning routes or understanding networks much simpler, because you never have to worry about which way the arrow points.
Ask a question
See also
Loading…