Scoping variables

You can define which portions of the diagram can reference a variable by designating its scope. There are three types of scope: level scope, definition scope, and diagram scope.