I'm just chaining together some mature and composable tools. I suspect that all of this could be done in one clever line of piped unix commands. Any unix jockeys out there? I'd be interested in seeing the solution
The only thing I needed Python for was to turn lines like this class A(B, C): into sets of lines like this C -> A B -> B Everything else is handled by find, grep, and dot. On Sun, Aug 12, 2012 at 10:55 AM, David Joyner <[email protected]> wrote: > On Sun, Aug 12, 2012 at 11:06 AM, Matthew Rocklin <[email protected]> > wrote: > > Generally speaking graph visualization of trees/dags is much more > reasonable > > than for general graphs. I.e. the dot program is far more reliable than > the > > neato program for layout when you can use it. > > > > I made a small program that does this here > > https://gist.github.com/3332164 > > > > It produces results like what are found here > > http://people.cs.uchicago.edu/~mrocklin/tempspace/sympy-graphs/ > > > > You're right that SymPy all at once is difficult to take in. SymPy/core > on > > the other hand is very manageable. Each of the individual modules also > come > > out nicely (see geometry, matrices) > > > > Note that I haven't applied any style to these graphs. There is a lot we > > could do to clarify things by playing with node size, edge length, spring > > stiffness, etc.... > > > > Anyway, I encourage people to take a look. I suspect that by looking at > the > > class structure as a whole we can find some organizational improvements. > > Wow - very nice graphs for such a small amount of code. > > > > > Best, > > -Matt > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sympy" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/sympy?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
