index.js
function isNodeOriginallyPinned(node) {
    return (node && (node.isPinned || (node.data && node.data.isPinned)));
  }
function isNodeOriginallyPinned(node) {
    return (node && (node.isPinned || (node.data && node.data.isPinned)));
  }
function isNodeOriginallyPinned ( node ) { return ( node && ( node . isPinned || ( node . data && node . data . isPinned ) ) ) ; }
Checks whether graph node has in its settings pinned attribute,
which means layout algorithm cannot move it. Node can be marked
as pinned, if it has "isPinned" attribute, or when node.data has it.

@param {Object} node a graph node to check
@return {Boolean} true if node should be treated as pinned; false otherwise.
Checks whether graph node has in its settings pinned attribute which means layout algorithm cannot move it . Node can be marked as pinned if it has isPinned attribute or when node . data has it .