Due to a miscommunication between Elsevier Press and the Python Software Foundation, the first printing of this title used an unauthorized modification of the trademarked Python logo. We apologize to the PSF for this, and they have been understanding of our in-press status; in the 2nd and subsequent printing of this title, we shall use a cover design that has been approved as non-dilutive by the Python Software Foundation.

Help make the world a better place and make a secure donation to the Python Software Foundation today!


Chapter 12

Programming a Dependency Node


Adam Mechtley


Average nodes (doubles, array of doubles, double array, and weighted vectors)

Example Files



This chapter explains the implementation details of custom dependency graph nodes. Readers will walk through four example nodes to learn the basics of creating nodes, working with plug arrays, and implementing compound attributes.



Other Notes


Errata for the First Edition


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.