pyan icon indicating copy to clipboard operation
pyan copied to clipboard

feature: new params for graphviz + solves #70

Open maciejczyzewski opened this issue 4 years ago • 3 comments

Changes:

  • solve abs path bug #70

  • new params for graphviz (--dot-ranksep 5 -> ranksep; --graphviz-layout fdp -> layout) when working with --html and someone wants more space or zoom capacity, ranksep is helpful

  • tested layout param on various projects: dot (default); fdp (square graph); but every layout that is documented in: https://graphviz.org/documentation/#layout-manual-pages works.

  • updated .gitignore (files gen. after visualize_pyan_architecture.sh)

Example (--graphviz-layout fdp): Screen Shot 2021-06-09 at 15 27 40

maciejczyzewski avatar Jun 09 '21 13:06 maciejczyzewski

@maciejczyzewski Could you give your consent to relicense your contributions under the MIT and BSD licences here: https://github.com/Technologicat/pyan/issues/68?

And: I think the readme changes for you to pyan3. I think we install pyan. Otherwise all good with me :)

jdb78 avatar Jun 10 '21 10:06 jdb78

Yeah, sure 😄 (already commented in #68)

I switched to pyan3 in readme since pip install pyan3 did not install the pyancommand on my machine as it should have.

Edit: Should there be an additional line "pyan = pyan.main:main" here in https://github.com/Technologicat/pyan/blob/master/setup.py#L130

maciejczyzewski avatar Jun 10 '21 10:06 maciejczyzewski

@Technologicat @jdb78 FWIW I have used this branch successfully on a moderately complex project, and it works as expected.

lofidevops avatar Feb 17 '23 16:02 lofidevops