emilydolson / emilydolson/python-red-black-trees

Uml Output

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
28
Forks
5
PR merge metrics
No merged PRs in 30d

Description

There is a extended UML format that I feel could be used to visualize the tree structure quite well:

```

@startmindmap
*[#red] \rotatebox{90}{Root Entry}
**[#black] \rotatebox{90}{}
**[#black] \rotatebox{90}{\textcolor{white}{PROJECT}}
***[#red] \rotatebox{90}{PROJECTwm}
****[#black] \rotatebox{90}{}
****[#black] \rotatebox{90}{}
***[#red] \rotatebox{90}{VBA}
****[#black] \rotatebox{90}{}
****[#black] \rotatebox{90}{\textcolor{white}{Module1}}
*****[#black] \rotatebox{90}{\textcolor{white}{ThisWorkbook}}
******[#red] \rotatebox{90}{\_VBA\_PROJECT}
*******[#black] \rotatebox{90}{}
*******[#black] \rotatebox{90}{}
******[#black] \rotatebox{90}{}
*****[#black] \rotatebox{90}{\textcolor{white}{Sheet1}}
******[#black] \rotatebox{90}{}
******[#red] \rotatebox{90}{dir}
*******[#black] \rotatebox{90}{}
*******[#black] \rotatebox{90}{}
****[#black] \rotatebox{90}{}
**[#black] \rotatebox{90}{}
@endmindmap

```

Will produce the following image:
![932F8108-FF9A-4E59-A2D7-CC3575604A17](https://user-images.githubusercontent.com/8106249/231522075-042d9a15-53a0-4763-a4b6-0dc0c26d7420.jpeg)

This would be easy to add and I think would be better then the text output.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.