Template:Tree traversal demo/doc
Appearance
![]() | This is a documentation subpage for Template:Tree traversal demo. It may contain usage information, categories and other content that is not part of the original template page. |
This is an interactive demo of Tree traversal meant for usage on that page.
You can use noselectmethod parameter and the method parameter to force a specific order method. e.g.
{{Tree traversal demo|method=Level-order|noselectmethod=1|caption=Interactive breadth-first search demonstration}}
if you just want to display BFS.
Usage
[edit]Tree traversal demo
Parameter | Description | Type | Status | |
---|---|---|---|---|
caption | caption | Text to show as caption | Content | optional |
noselectmethod | noselectmethod | Do not show a drop down to change what method of traversal is used | Boolean | optional |
method | method | Which method to start at initially
| String | optional |