Scala app to print out DAG to the console in ascii format

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).

Beceriler: Ölçek, Programlama

Daha fazlasını gör: format search results php mysql, convert tdb file ascii format, generate files ascii format java, format search results page php, mysql format search result, 837 format search, create print invitations free pdf format, print cost calculator large format print, google app engine export data excel format, letters format search engine, logo cdr format search, oscommerce format search box, android app print phone wireless printer, facebook app print, advanced min ascii format, free nse forex data ascii format, nse bse mcx ncdex data download ascii format, ssrs console app print pdf

İşveren Hakkında:
( 0 değerlendirme ) Twickenham, United Kingdom

Proje NO: #20821447

Bu iş için 2 freelancer ortalamada £287 teklif veriyor


Dear Customer, My name is Yuriy Tumakha. I am interested in your project. I am Senior Scala/Java Developer with 14 years of experience. You can see my code examples on GitHub [login to view URL]

£350 GBP in 7 gün içinde
(5 Değerlendirme)

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 li Daha Fazla

£223 GBP in 5 gün içinde
(0 Değerlendirme)