nl_tokens: Helper function to determin if all nodes are fixed . This is run after any node is dragged and set to fixed .
pl_tokens: function detectAllNodesFixed ( ) { if ( data ) { var currentNodesFixed = data . allNodesFixed ; var allNodesFixed = true ; data . nodes . forEach ( function ( node ) { if ( ! node . fixed ) { allNodesFixed = <mask> ; } } ) ; data . allNodesFixed = allNodesFixed ; if ( currentNodesFixed !== allNodesFixed ) { updateMenuUI ( ) ; } // Update freeze / unfreeze menu option. } }