tldr-pages / tldr

📚 Collaborative cheatsheets for console commands
https://tldr.sh
Other
50.21k stars 4.09k forks source link

Let's document: graphviz #2580

Open calpa opened 5 years ago

calpa commented 5 years ago

Graphviz is open source graph visualization software.

Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks.

sbrl commented 5 years ago

Thanks for requesting this page, @calpa! Do you want to have a go yourself?

Pages are best created by people who understand the command they are about.

If you do, take a quick read of CONTRIBUTING.md, which guides you through the process of creating a new page here. Then, just simply send a pull request to this repository - and if you need any assistance, just ask :-)

calpa commented 5 years ago

@sbrl I will do it this week.

mebeim commented 5 years ago

Hi, @calpa, when you say "Graphviz" what do you mean exactly? Graphviz is a set of useful tools, not a standalone command. Care to specify?

calpa commented 5 years ago

@mebeim I am talking about this

mebeim commented 5 years ago

@calpa ok, but again as I said, that's not a specific command. That's a collection of commands which all support a certain set of options, so one cannot write a page for that, it does not fit in the scope of tldr pages. You could, however, write pages for specific graphviz commands.

marchersimon commented 3 years ago

A complete list of binaries in the graphviz package:

daniel-birket commented 3 years ago

Hello @marchersimon and all. I'd like to tackle this one as graphviz is a favorite tool of mine. I note that dot already has an entry. Please know that dot is only one of a set of alternate layout engines: dot, neato, circo, twopi, fdp, sfdp, osage and patchwork that have nearly the same parameters and flags. I'd like to tackle these as a set of entries, starting with a review of the existing dot entry (which seems too short). Is there any reason that I can't touch up dot (if required), get those changes (if any) accepted, then make a batch pull-request "graphviz : add pages" to create entries for the other seven commands that share dot's syntax? Will your work flow crash if there are multiple commands per pull-request?

There are also another score or more commands in the package that I hope to handle as well, but separate from this set.

marchersimon commented 3 years ago

Amazing, thanks! We're pretty flexible regarding our workflow. But maybe I'd call the PR Add graphviz layout engine pages or something like this.

daniel-birket commented 3 years ago

@marchersimon , @CleanMachine1, @calpa, @mebeim , I think that these first 14 graphviz commands are ready and stable after this last tweak requested by @navarroaxel. Please review #6270 (dot.md only), #6284 (dot.md + all layouts) and #6286 (all converters). Thank you.

marchersimon commented 3 years ago

@CleanMachine1 not all commands were covered by those two PRs. I updated the list above

daniel-birket commented 3 years ago

I'm working on the graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. These commands accept a file in graphviz format, transform the graph in some way, and output another file in graphviz format. The filters often accept the text, not graphic, output of one of the layout engines like dot as their input. (The layout engines produce graphviz format by default if no graphical format like -T png is specified.)