nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
53 stars 4 forks source link

Orthogonal graph creation #131

Open nkh opened 10 months ago

nkh commented 10 months ago

I like Graph::Easy which can do grid based layout.

in the image below I drew the first graph manually, it's optimized and looks better but Graph::Easy takes a simpler description:

[ Berlin ] -- train --> [ Bonn ]
[ Bonn ] --> [ Berlin ]
...

but it does its routing by adding connectors to boxes when needed , long explanation in the link below.

I'd like to be able to create a Graph::Easy like graph automatically and then modify it manually if necessary, that means having a box with dynamic number of connectors.

screenshot_2023-10-03_17-38-35

http://bloodgate.com/perl/graph/manual/index.html

nkh commented 10 months ago

links of interests:

https://metacpan.org/pod/Graph::Easy

http://bloodgate.com/perl/graph/

nkh commented 10 months ago

dynamic connectors was issue #122 and implemented in 350eaa59c7a8c8fa7e921e5bcdf756d681af6ff2

routed graphs can be visualized in two ways:

https://nkh.github.io/P5-App-Asciio/for_developers/scripting.html

ThomasAstley commented 9 months ago