On Wed, 8 Jun 2016 6:26 AM Rudi Hammad <[email protected]> wrote: > Quick question about inheritance diagrams in pymel > I´ve read that usually the arrow in a inheritance diagram points to the > superclass. diagram pymel > <http://help.autodesk.com/cloudhelp/2016/ENU/Maya-Tech-Docs/PyMel/generated/classes/pymel.core.nodetypes/pymel.core.nodetypes.Joint.html?highlight=pymel.core.nodetypes.joint#pymel.core.nodetypes.Joint> > So if Transform is the superclass of Joint, DagNode the superclass of > Transform,etc.. shouldn´t the arrows be pointing up? > I guess it is not relevant at all, but just in case >
As far as I can tell, Sphinx uses a default built in extension for drawing class inheritance, by using graphviz to generate a standard node graph: http://www.sphinx-doc.org/en/stable/ext/inheritance.html But this is not the same as UML, which would depict specialised classes pointing TO the generalized class they inherit from. Looks like you could use plugins to generate UML style graphs: https://pypi.python.org/pypi/sphinxcontrib-plantuml > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/c57199ee-bdb7-4c2f-9dcb-35de74faaf31%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/c57199ee-bdb7-4c2f-9dcb-35de74faaf31%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA21Hezur-%2BPNdJVzEzxeA9mSaZdLVRxdSAotbXHL8hiUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
