This mapping has 1 all-to-all group: every node on one side corresponds to every node on the other, and none is deleted or inserted. Each member carries an all N:M badge; selecting one highlights all of its counterparts, in the tree and in the code view alike.

Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–43 unchanged (43 lines)
44 fi
45}
46
47check_packages_dev_version() {
48 for package in $@; do
49 package_version=$(python -c "import $package; print($package.__version__)")
50 if [[ $package_version =~ "^[.0-9]+$" ]]; then
51 echo "$package is not a development version: $package_version"
52 exit 1
53 fi
54 done
55}
56
…lines 57–139 unchanged (83 lines)

After

…lines 1–43 unchanged (43 lines)
44 fi
45}
46
47check_packages_dev_version() {
48 for package in $@; do
49 package_version=$(python -c "import $package; print($package.__version__)")
50 if [[ $package_version =~ ^[.0-9]+$ ]]; then
51 echo "$package is not a development version: $package_version"
52 exit 1
53 fi
54 done
55}
56
…lines 57–139 unchanged (83 lines)

Before

program
comment "#!/bin/bash"
command
command_name
word "set"
word "-e"
command
command_name
word "set"
word "-x"
comment "# defines the get_dep and show_installed_libraries functions"
command
command_name
word "source"
word "build_tools/shared.sh"
variable_assignment
variable_name "UNAMESTR"
= "="
command_substitution
` "`"
command
command_name
word "uname"
` "`"
variable_assignment
variable_name "CCACHE_LINKS_DIR"
= "="
string
" "\""
string_content "/tmp/ccache"
" "\""
function_definition (+166 nodes collapsed)
function_definition (+80 nodes collapsed)
function_definition
word "check_packages_dev_version"
( "("
) ")"
compound_statement
{ "{"
for_statement
for "for"
variable_name "package"
in "in"
simple_expansion
$ "$"
special_variable_name "@"
; ";"
do_group
do "do"
variable_assignment (+22 nodes collapsed)
if_statement
if "if"
test_command
[[ "[["
binary_expression
simple_expansion
$ "$"
variable_name "package_version"
=~ "=~"
string
" "\""
string_content "^[.0-9]+" all 2:1
$ "$" all 2:1
" "\""
]] "]]"
; ";"
then "then"
command
command_name
word "echo"
string
" "\""
simple_expansion
$ "$"
variable_name "package"
string_content " is not a development version: "
simple_expansion
$ "$"
variable_name "package_version"
" "\""
command
command_name
word "exit"
number "1"
fi "fi"
done "done"
} "}"
function_definition (+184 nodes collapsed)
function_definition (+201 nodes collapsed)
function_definition
word "main"
( "("
) ")"
compound_statement
{ "{"
command
command_name
word "pre_python_environment_install"
command
command_name
word "python_environment_install_and_activate"
command
command_name
word "scikit_learn_install"
} "}"
command
command_name
word "main"

After

program
comment "#!/bin/bash"
command
command_name
word "set"
word "-e"
command
command_name
word "set"
word "-x"
comment "# defines the get_dep and show_installed_libraries functions"
command
command_name
word "source"
word "build_tools/shared.sh"
variable_assignment
variable_name "UNAMESTR"
= "="
command_substitution
` "`"
command
command_name
word "uname"
` "`"
variable_assignment
variable_name "CCACHE_LINKS_DIR"
= "="
string
" "\""
string_content "/tmp/ccache"
" "\""
function_definition (+166 nodes collapsed)
function_definition (+80 nodes collapsed)
function_definition
word "check_packages_dev_version"
( "("
) ")"
compound_statement
{ "{"
for_statement
for "for"
variable_name "package"
in "in"
simple_expansion
$ "$"
special_variable_name "@"
; ";"
do_group
do "do"
variable_assignment (+22 nodes collapsed)
if_statement
if "if"
test_command
[[ "[["
binary_expression
simple_expansion
$ "$"
variable_name "package_version"
=~ "=~"
regex "^[.0-9]+$" all 2:1
]] "]]"
; ";"
then "then"
command
command_name
word "echo"
string
" "\""
simple_expansion
$ "$"
variable_name "package"
string_content " is not a development version: "
simple_expansion
$ "$"
variable_name "package_version"
" "\""
command
command_name
word "exit"
number "1"
fi "fi"
done "done"
} "}"
function_definition (+184 nodes collapsed)
function_definition (+201 nodes collapsed)
function_definition
word "main"
( "("
) ")"
compound_statement
{ "{"
command
command_name
word "pre_python_environment_install"
command
command_name
word "python_environment_install_and_activate"
command
command_name
word "scikit_learn_install"
} "}"
command
command_name
word "main"