function changeBranchColorProperty(newColor, selectedNode) {
	let childrenArray = selectedNode.get_all_nodes()
	for (let x = 1; x < childrenArray.length; x++)
		childrenArray[x].property('branchColor', String(newColor.color))
}
/**
 * Modifies the 'branchColor' property of all branches in the subtree of a given node to a given color.
 *
 * @param {any} newColor - Desired color of the subtree's branches.
 * @param {any} selectedNode - The root node of the subtree.
 */
Modifies the 'branchColor' property of all branches in the subtree of a given node to a given color.
@param {any} newColor - Desired color of the subtree's branches.
@param {any} selectedNode - The root node of the subtree.
Modifies the ' branchColor ' property of all branches in the subtree of a given node to a given color . @param { any } newColor - Desired color of the subtree ' s branches . @param { any } selectedNode - The root node of the subtree .
function changeBranchColorProperty(newColor, selectedNode) {
	let childrenArray = selectedNode.get_all_nodes()
	for (let x = 1; x < childrenArray.length; x++)
		childrenArray[x].property('branchColor', String(newColor.color))
}
function changeBranchColorProperty ( newColor , selectedNode ) { let childrenArray = selectedNode . get_all_nodes ( ) for ( let x = 1 ; x < childrenArray . length ; x ++ ) childrenArray [ x ] . property ( 'branchColor' , String ( newColor . color ) ) }
Modifies the 'branchColor' property of all branches in the subtree of a given node to a given color.
Modifies the ' branchColor ' property of all branches in the subtree of a given node to a given color .