twdeps icon indicating copy to clipboard operation
twdeps copied to clipboard

More vertically oriented graphs?

Open chrisjbillington opened this issue 7 years ago • 3 comments

At the moment, twdeps generates graphs that are horizontally quite wide. It would be nice if the items could stack things a bit more vertically, since more items can fit on a screen that way (since task descriptions are generally much wider than they are tall, each being a line of text of arbitrary length)

chrisjbillington avatar Jun 13 '18 05:06 chrisjbillington

Interesting idea. Can you provide an example input and output that would make a good test case?

nerab avatar Jun 14 '18 06:06 nerab

Sure. Here is a zip file containing an exported task list and the resulting svg file generated with:

twdeps task_export.json > tasks.sv

tasks.zip

Here's the result as a png. Quite wide! Even though I do not have that many tasks.

tasks

chrisjbillington avatar Jun 14 '18 06:06 chrisjbillington

Thanks, that's very useful. Do you also have a suggestion on what the graph should look like? Simply one underneath the other?

nerab avatar Jun 16 '18 14:06 nerab