origami icon indicating copy to clipboard operation
origami copied to clipboard

Generate a directed graph

Open Nanoseb opened this issue 5 years ago • 2 comments

Hi, First, I wanted to thank you for this great piece of software, it looks like I'll be using it a lot in the future. Just a small suggestion, I think it would be easier to visualize and understand the graph if it was directed. Something like: A cites B becoming A -> B instead of the current A - B.

Cheers,

Nanoseb avatar Aug 01 '19 23:08 Nanoseb

Hi, Thank you very much for your interest! The early versions of the software used arrow to represent directed graphs (similar to http://bl.ocks.org/fancellu/2c782394602a93921faff74e594d1bb1). However, it made large graphs harder to read.

I tried to use colors instead (when a node is active, the color of its parents and children change), but it is not really helpful. Making the edges asymmetrical may prove as useful as arrows without cluttering the graph. I'll look into it.

Cheers, Alex

aMarcireau avatar Aug 02 '19 08:08 aMarcireau

Ok, I understand. As an alternative you could also put the arrow in the middle of the edge (like A ->- B) to clutter a bit less the nodes.

Nanoseb avatar Aug 02 '19 11:08 Nanoseb