Loading formats...
Graph Paths Explained: Node vs Edge Based, Simple Paths, Cycles and DAGs
N
Neural Lantern
1 views • Aug 05, 2026
Description
Hey there, let's talk about paths inside of a graph. We draw a directed weighted graph and compare node-based paths to edge-based paths. Node lists alone cannot tell which edge you took when parallel edges have different costs. Edge-based paths use tuples of start, destination and weight so every route is clear.
We also cover simple paths with no repeated edges or vertices, cyclic paths that start and end on the same node, and how a cycle proves the graph is cyclic. Then we explain DAGs, directed acyclic graphs, with examples that stay acyclic and ones that gain cycles.
This sets up algorithms for later videos. Leave a comment with topics you want next. Thanks for watching and please subscribe.
00:00 Introduction to Graph Paths
00:28 Drawing a Sample Graph
02:25 What is a Path
02:42 Node-Based Paths
03:27 Adding Weights and Parallel Edges
04:34 Example Paths with Different Costs
07:19 Edge-Based Paths
07:35 Representing Paths with Tuples
11:35 Order Matters in Directed Graphs
12:52 Simple Paths
15:34 Cyclic Paths
18:22 Directed Acyclic Graphs DAGs
19:08 Building a DAG Example
21:41 Adding a Cycle to Break the DAG
23:15 Conclusion and Future Videos
graph paths, paths in graphs, node based path, edge based path, simple path graph, cyclic path, directed acyclic graph, DAG, graph theory, graph edges, weighted graphs, graph cycles, edge list, graph algorithms basics
=-=-=-=-=-=-=-=-=
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
- Twitter / X: https://x.com/NeuralLantern
- Rumble: https://rumble.com/c/c-3696939
- BitChute: https://www.bitchute.com/channel/pg1Pvv5dN4Gt
- Daily Motion: https://www.dailymotion.com/neurallantern
- Minds: https://www.minds.com/neurallantern/
- Odysee: https://odysee.com/@NeuralLantern:5
Please show your support!
- Buy me a coffee: https://ko-fi.com/neurallantern
- Subscribe + Sharing on Social Media
- Leave a comment or suggestion
- Subscribe to the Blog: https://www.NeuralLantern.com
- Watch the main "pinned" video of this channel for offers and extras
We also cover simple paths with no repeated edges or vertices, cyclic paths that start and end on the same node, and how a cycle proves the graph is cyclic. Then we explain DAGs, directed acyclic graphs, with examples that stay acyclic and ones that gain cycles.
This sets up algorithms for later videos. Leave a comment with topics you want next. Thanks for watching and please subscribe.
00:00 Introduction to Graph Paths
00:28 Drawing a Sample Graph
02:25 What is a Path
02:42 Node-Based Paths
03:27 Adding Weights and Parallel Edges
04:34 Example Paths with Different Costs
07:19 Edge-Based Paths
07:35 Representing Paths with Tuples
11:35 Order Matters in Directed Graphs
12:52 Simple Paths
15:34 Cyclic Paths
18:22 Directed Acyclic Graphs DAGs
19:08 Building a DAG Example
21:41 Adding a Cycle to Break the DAG
23:15 Conclusion and Future Videos
graph paths, paths in graphs, node based path, edge based path, simple path graph, cyclic path, directed acyclic graph, DAG, graph theory, graph edges, weighted graphs, graph cycles, edge list, graph algorithms basics
=-=-=-=-=-=-=-=-=
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
- Twitter / X: https://x.com/NeuralLantern
- Rumble: https://rumble.com/c/c-3696939
- BitChute: https://www.bitchute.com/channel/pg1Pvv5dN4Gt
- Daily Motion: https://www.dailymotion.com/neurallantern
- Minds: https://www.minds.com/neurallantern/
- Odysee: https://odysee.com/@NeuralLantern:5
Please show your support!
- Buy me a coffee: https://ko-fi.com/neurallantern
- Subscribe + Sharing on Social Media
- Leave a comment or suggestion
- Subscribe to the Blog: https://www.NeuralLantern.com
- Watch the main "pinned" video of this channel for offers and extras
More from this user
28:40
Graph Paths Explained: Node vs Edge Based, Simple Paths, Cycles and DAGs
Neural Lantern
19:22
Graph Connectedness Explained: Connected Strongly Connected and Weakly Connected
Neural Lantern
20:46
Graph Basics in Data Structures: Nodes, Edges, and Representations
Neural Lantern
26:46
4 Graph Types: Undirected vs Directed, Weighted vs Unweighted
Neural Lantern
25:33
AVL Trees: Adding Linear Data and Performing Rotations
Neural Lantern
36:36
AVL Tree Rotations Practice: Balancing a Huge Linear Tree Step by Step
Neural Lantern
Related videos
00:05
[PDF Download] 100 Year Patra Vol...2: Vedic Charts Life Paths Life Cycles & Planetary Tracking
Ziaprince50
05:39
Blender Compositing nodes hangout nocturno node cycles compositing
Shialeweb.Com
16:58
Blender Cycles Render Engine Elaborando Un Banner 3D Para Grupo Facebook Moldeo Material Textura Compositing Node Speed Art Tutorial
Shialeweb.Com
02:38
Faversham Town Council get wheels in motion for new cycling paths
KentOnline / KMTV
01:20
Get to work on a bike - European governments work to put in place wider and more cycle paths
Africanews (in English)
02:54
Japanese cycling paths (Gunma-ken)
Travel