public function linkProperties($FromNode, $ToNode, array $Settings)
    {
        if (!isset($this->Data[$FromNode])) {
            return 0;
        }
        if (!isset($this->Data[$ToNode])) {
            return 0;
        }

        $R = isset($Settings["R"]) ? $Settings["R"] : 0;
        $G = isset($Settings["G"]) ? $Settings["G"] : 0;
        $B = isset($Settings["B"]) ? $Settings["B"] : 0;
        $Alpha = isset($Settings["Alpha"]) ? $Settings["Alpha"] : 100;
        $Name = isset($Settings["Name"]) ? $Settings["Name"] : null;
        $Ticks = isset($Settings["Ticks"]) ? $Settings["Ticks"] : null;

        $this->Links[$FromNode][$ToNode]["R"] = $R;
        $this->Links[$ToNode][$FromNode]["R"] = $R;
        $this->Links[$FromNode][$ToNode]["G"] = $G;
        $this->Links[$ToNode][$FromNode]["G"] = $G;
        $this->Links[$FromNode][$ToNode]["B"] = $B;
        $this->Links[$ToNode][$FromNode]["B"] = $B;
        $this->Links[$FromNode][$ToNode]["Alpha"] = $Alpha;
        $this->Links[$ToNode][$FromNode]["Alpha"] = $Alpha;
        $this->Links[$FromNode][$ToNode]["Name"] = $Name;
        $this->Links[$ToNode][$FromNode]["Name"] = $Name;
        $this->Links[$FromNode][$ToNode]["Ticks"] = $Ticks;
        $this->Links[$ToNode][$FromNode]["Ticks"] = $Ticks;
    }
public function linkProperties($FromNode, $ToNode, array $Settings)
    {
        if (!isset($this->Data[$FromNode])) {
            return 0;
        }
        if (!isset($this->Data[$ToNode])) {
            return 0;
        }

        $R = isset($Settings["R"]) ? $Settings["R"] : 0;
        $G = isset($Settings["G"]) ? $Settings["G"] : 0;
        $B = isset($Settings["B"]) ? $Settings["B"] : 0;
        $Alpha = isset($Settings["Alpha"]) ? $Settings["Alpha"] : 100;
        $Name = isset($Settings["Name"]) ? $Settings["Name"] : null;
        $Ticks = isset($Settings["Ticks"]) ? $Settings["Ticks"] : null;

        $this->Links[$FromNode][$ToNode]["R"] = $R;
        $this->Links[$ToNode][$FromNode]["R"] = $R;
        $this->Links[$FromNode][$ToNode]["G"] = $G;
        $this->Links[$ToNode][$FromNode]["G"] = $G;
        $this->Links[$FromNode][$ToNode]["B"] = $B;
        $this->Links[$ToNode][$FromNode]["B"] = $B;
        $this->Links[$FromNode][$ToNode]["Alpha"] = $Alpha;
        $this->Links[$ToNode][$FromNode]["Alpha"] = $Alpha;
        $this->Links[$FromNode][$ToNode]["Name"] = $Name;
        $this->Links[$ToNode][$FromNode]["Name"] = $Name;
        $this->Links[$FromNode][$ToNode]["Ticks"] = $Ticks;
        $this->Links[$ToNode][$FromNode]["Ticks"] = $Ticks;
    }
public function linkProperties ( $ FromNode , $ ToNode , array $ Settings ) { if ( ! isset ( $ this -> Data [ $ FromNode ] ) ) { return 0 ; } if ( ! isset ( $ this -> Data [ $ ToNode ] ) ) { return 0 ; } $ R = isset ( $ Settings [ "R" ] ) ? $ Settings [ "R" ] : 0 ; $ G = isset ( $ Settings [ "G" ] ) ? $ Settings [ "G" ] : 0 ; $ B = isset ( $ Settings [ "B" ] ) ? $ Settings [ "B" ] : 0 ; $ Alpha = isset ( $ Settings [ "Alpha" ] ) ? $ Settings [ "Alpha" ] : 100 ; $ Name = isset ( $ Settings [ "Name" ] ) ? $ Settings [ "Name" ] : null ; $ Ticks = isset ( $ Settings [ "Ticks" ] ) ? $ Settings [ "Ticks" ] : null ; $ this -> Links [ $ FromNode ] [ $ ToNode ] [ "R" ] = $ R ; $ this -> Links [ $ ToNode ] [ $ FromNode ] [ "R" ] = $ R ; $ this -> Links [ $ FromNode ] [ $ ToNode ] [ "G" ] = $ G ; $ this -> Links [ $ ToNode ] [ $ FromNode ] [ "G" ] = $ G ; $ this -> Links [ $ FromNode ] [ $ ToNode ] [ "B" ] = $ B ; $ this -> Links [ $ ToNode ] [ $ FromNode ] [ "B" ] = $ B ; $ this -> Links [ $ FromNode ] [ $ ToNode ] [ "Alpha" ] = $ Alpha ; $ this -> Links [ $ ToNode ] [ $ FromNode ] [ "Alpha" ] = $ Alpha ; $ this -> Links [ $ FromNode ] [ $ ToNode ] [ "Name" ] = $ Name ; $ this -> Links [ $ ToNode ] [ $ FromNode ] [ "Name" ] = $ Name ; $ this -> Links [ $ FromNode ] [ $ ToNode ] [ "Ticks" ] = $ Ticks ; $ this -> Links [ $ ToNode ] [ $ FromNode ] [ "Ticks" ] = $ Ticks ; }
Set link properties
@param int $FromNode
@param int $ToNode
@param array $Settings
@return null|int
Set link properties