↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Tag: graph

Home › Posts tagged graph
Python – A Beam Search in Graph
Python

Python – A Beam Search in Graph

Vitosh Jan 2, 2026 Tagged with algorithm, graph, graph search, heuristics, Python, simple

In our previous article, we explored the A* (A-Star) Algorithm. It is the gold standard for pathfinding as it is optimal – it always finds the shortest path. But in the real world (chess engines, LLM) it might be too …

Python – A Beam Search in Graph Read more →

Python – A Star Search in Graph
Python

Python – A Star Search in Graph

Vitosh Dec 21, 2025 Tagged with a star, graph, graph theory, heuristics, Python, shortest path

A* is probably my favourite graph search algorithm. Some 10+ years ago, I have implmented it with Excel and after that I have written a few more implementations. Just, not to repeat myself, I will not discuss it here. The reason …

Python – A Star Search in Graph Read more →

Dijkstra’s Graph Algorithm with Python
Python, Visualization

Dijkstra’s Graph Algorithm with Python

Vitosh Dec 8, 2025 Tagged with algorithm, dijkstra, graph, Python, visualization

In the previous articles, we have presented graphs with BFS and DFS. The BFS is actually good to find the path with the fewest nodes. But if the path with the fewest nodes is actually the most expensive, then we …

Dijkstra’s Graph Algorithm with Python Read more →

Depth-First Search (DFS) algorithm with Python
Python

Depth-First Search (DFS) algorithm with Python

Vitosh Dec 1, 2025 Tagged with depth-first search, DFS, graph, Python

Yesterday (blogging every day now!) I have presented a visualization with Python, in which a simple and basic graph was displayed. Today, I have showed how to traverse it with DFS (Depth-First Search) with quite basic skills. Just for the …

Depth-First Search (DFS) algorithm with Python Read more →

Drawing a Graph with Python
Python, Visualization

Drawing a Graph with Python

Vitosh Nov 30, 2025 Tagged with graph, nx, Python, traversing, visualization

Long time ago (somewhere in 2015) I have written an article about Dijkstra and the shortest path. In that article, I draw a graph on a notebook, just to illustrate what I was trying to traverse: Today, I was thinking …

Drawing a Graph with Python Read more →

Copyright © 2026 VitoshAcademy