zrygan / DSA-Project

Repository for CCDSALG Projects by Balcita, V., Ganituen, Z., and Jimenez, J.
0 stars 0 forks source link

Bonus Specs: Drawing BFS Tree #8

Open zrygan opened 2 months ago

zrygan commented 2 months ago

As a bonus specification, we are given the opportunity to implement a function that produces a graphic.

My idea is to use Mermaid, see sample code of a Tree in Mermaid.js:

graph TD;
    A
    A --> B
    A --> C
    B --> D
    B --> E
    C --> F
    C --> G
    C --> H

The issue here is we need a way to convert this file to an image file, or maybe they'll allow us to have just the source code since we can upload it on Mermaid Live Editor to view the image file.

Or, we simply use an ASCII text in the command line.

@zrygan @Viennbalcita @jazjimenez

zrygan commented 1 month ago

For debugging