幅優先探索
https://plantuml-proxy.vercel.app/svg/https://scrapbox.io/api/code/suto3/幅優先探索/bfs00.pu#.svg
code:bfs00.pu
@startdot
digraph bfs {
size ="8.5, 11";
rankdir = TD;
ratio=auto;
label="幅優先探索";
"1" -> "2" ;
"2" -> "4" ;
"2" -> "5" ;
"1" -> "3" ;
"3" -> "6" ;
"3" -> "7" ;
}
@enddot