Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write documentation #130

Open
johnyf opened this issue Sep 1, 2016 · 10 comments
Open

write documentation #130

johnyf opened this issue Sep 1, 2016 · 10 comments

Comments

@johnyf
Copy link
Contributor

johnyf commented Sep 1, 2016

There is currently no user documentation in tutorial form, besides the docstrings, as #129 underlines.

@johnyf johnyf self-assigned this Sep 1, 2016
@johnyf johnyf added this to the 1.3.1 milestone Sep 1, 2016
@leycec
Copy link
Contributor

leycec commented Oct 3, 2016

👍 👊

I suspect most end users currently leverage the online pydotplus and pydot-ng documentation, which is clearly suboptimal.

@johnyf
Copy link
Contributor Author

johnyf commented Nov 8, 2016

The pydotplus docs appear to be the docstrings, no user documentation added, no tutorial. pydot-ng docs appear to be empty.

@johnyf
Copy link
Contributor Author

johnyf commented Nov 8, 2016

As part of this issue, incorporate information from the branch: https://github.com/erocarrera/pydot/tree/wiki, and then delete the branch wiki.

@ian-bertolacci
Copy link

Pinging issue.

@danpalmer
Copy link

Ping.

@peternowee
Copy link
Member

peternowee commented Feb 6, 2021

I just opened PR #253, adding some basic usage examples to the README. I hope it is accessible enough for newcomers. Suggestions for improvement would be very welcome, preferably this week then. I am hoping to merge it next weekend.

(Note that this will not close this issue #130 yet, but only #141.)

@brando90
Copy link

brando90 commented May 7, 2021

does this mean that pydot doesn't have docs like these: https://pygraphviz.github.io/documentation/latest/tutorial.html can someone explain to me how people actually know how to use pydot then? is there an api page or something? or just based on the initial tutorial on the read me?

@brando90
Copy link

brando90 commented May 7, 2021

👍 👊

I suspect most end users currently leverage the online pydotplus and pydot-ng documentation, which is clearly suboptimal.

I am genuinely curious, why is pydot so widespeard (e.g. ~15k users pydot vs 4.1k users for pygraphviz) if it doesn't have docs? Doesn't it make it hard to use?

@julianfortune
Copy link

can someone explain to me how people actually know how to use pydot then? is there an api page or something? or just based on the initial tutorial on the read me?

I am genuinely curious, why is pydot so widespeard (e.g. ~15k users pydot vs 4.1k users for pygraphviz) if it doesn't have docs? Doesn't it make it hard to use?

I was able to figure out how to use PyDot for my use case quite easily (~20 minutes) using the README.md, GraphViz documentation, and a dot example of my use case. Does this help? What specifically are folks looking for in PyDot documentation?

@balqui
Copy link

balqui commented Aug 20, 2021

can someone explain to me how people actually know how to use pydot then? is there an api page or something? or just based on the initial tutorial on the read me?

I am genuinely curious, why is pydot so widespeard (e.g. ~15k users pydot vs 4.1k users for pygraphviz) if it doesn't have docs? Doesn't it make it hard to use?

I was able to figure out how to use PyDot for my use case quite easily (~20 minutes) using the README.md, GraphViz documentation, and a dot example of my use case. Does this help? What specifically are folks looking for in PyDot documentation?

Well, I don't know about folks, but I for one would be looking for clarification on unsupported attributes and whether workarounds exist. Or for explanations of the following raising an error (possibly for the same reason):

Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydot
>>> g = pydot.Dot("a")
>>> s = g.create_dot()
>>> ggg = pydot.graph_from_dot_data(g.create_dot())

Our use case requires accessing the positions set up by the dot layout engine, and pygraphviz allows for it and documents how to do it... provided that we manage to install it; as, right now, it works only on two thirds of the involved systems. (Brando90: one possible explanation is that after installing pydot, it works, while after installing pygraphviz it may work, or it may not.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants