Scala app to print out DAG to the console in ascii format
£20-250 GBP
Κλειστή
Αναρτήθηκε πάνω από 4 χρόνια πριν
£20-250 GBP
Πληρωμή κατά την παράδοση
I need a simple Scala application to print out DAG to the console in ascii format.
Suppose I have a DAG which is represented by
case class Node(name: String, predecessors: Set[Node], successors: Set[Node])
case class Topology(nodes: Set[Node])
I'd like to be able to print out to the console an ascii graph similar to a one produced by
`git log --graph --abbrev-commit --decorate --format=format:'%C(blue)%h%C(reset)' `
* e1675c6
* 0a98174
* ee5dbdd
|\
| * 5a10168
| * ca4a34c
| |\
| |/
|/|
* | 19ae7d2
* | 82e7834
| * db5217d
| |\
| |/
|/|
* | 3f92c53
|\ \
| * \ 19ab67c
| |\ \
| |/ /
|/| |
| * | 3ab8ae9
| * | aa88cfd
| * | 54e6daa
Additionally, I'd like to be able to colour DAG branches (again similar to a git log command provided above).
It doesn't need to be interactive as git log (where you can scroll up / down or search).
Hi.
I have about 19 years of software development experience. For my projects I used Java, Scala, C++, C#, and Python.
I can implement the application for printing out DAG.
Before you award the project to me I would like to discuss details about branches colorizing.