On Mon, 21 Mar 2016 5:02 AM Marcus Ottosson <[email protected]> wrote:
> Hey Fredrik, > > If or when you get around to the automatic layout of nodes, I'd be > interested in following your progress! Graph layout is an exciting area, > but I could never quite get past the baby steps myself.. > When I did a node graph type interface for a component of an app at work, I used graphviz to do all the heavy lifting for performing a node layout. The general idea is that when you need to layout, you build up a graph model of your nodes (X connects to Y, Y connects to Z) and pass it to graphviz either via the python API or shelling out to the "dot" command. You tell it to perform a certain type of layout with some options, and you get back a new graph that has the new positions for your nodes. Then you use that to move the nodes in your own node graph view. > On 16 March 2016 at 14:02, Fredrik Averpil <[email protected]> > wrote: > >> Hi Eric, >> >> Wow, very nice! >> This seems awesome, will check it out! >> >> Cheers, >> Fredrik >> >> >> On Wed, Mar 16, 2016 at 3:01 PM Fredrik Averpil < >> [email protected]> wrote: >> >>> Just found this: >>> http://austinjbaker.com/node-editor-prototype >>> >>> ...which is nice, for starters. >>> >>> Cheers, >>> Fredrik >>> >>> >>> On Wed, Mar 16, 2016 at 1:27 PM Fredrik Averpil < >>> [email protected]> wrote: >>> >>>> Hey everyone, >>>> >>>> This isn't really specific to Maya, but I figured I'd ask away in here >>>> anyways... :) >>>> >>>> So I'm thinking about creating a node graph view in PySide. Have you >>>> guys done anything like that? >>>> >>>> Basically, what I wish to do is to create a widget in which you can >>>> create nodes with inputs/outputs and move them around. Save their positions >>>> etc. >>>> >>>> What would be a good way to approach this in PySide/PyQt do you think? >>>> >>>> Regards, >>>> Fredrik >>>> >>>> -- >> 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/CAD%3DwhWMwWjE4LsGKyQ4Uvu3-ghecz8sa0ajQeyCTcdLiTsJeEA%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWMwWjE4LsGKyQ4Uvu3-ghecz8sa0ajQeyCTcdLiTsJeEA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Marcus Ottosson* > [email protected] > > -- > 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/CAFRtmOBuZvxq52-h5sXC-xA4_07cptO3jgpxHRSpynoiFbFZkA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBuZvxq52-h5sXC-xA4_07cptO3jgpxHRSpynoiFbFZkA%40mail.gmail.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/CAPGFgA1pJBMOdun-Gu75-xBP5-zPYZ9HR7U3UFYXFvG6C_FPgw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
