332c332
< global $xone, $pycont, $abl;
---
> global $xone, $pycont;
590c590
< //file_put_contents($prefix . 'venn_diagram0_' . $suffix . '.' . $codeext, $pycont);
---
> file_put_contents($prefix . 'venn_diagram0_' . $suffix . '.' . $codeext, $pycont);
593c593
< //file_put_contents($prefix . 'venn_diagram0_' . $suffix . '.ksh', "#!/bin/ksh\n/usr/bin/" . $verb . $switch . " " . $tprefix . "venn_diagram_" . $suffix . "." . $codeext . $codeafters . " 2>> " . $prefix . "venn_diagram.bad \nsleep 5\n\n/usr/bin/" .$verb . $switch . $tprefix . "venn_diagram_" . $suffix . "." . $codeext . $codeafters . " 2>> " . $prefix . "venn_diagram.bad \n\nrm -f " . $tprefix . "venn_diagram_" . $suffix . "." . $codeext . " \nrm -f " . $prefix . "venn_diagram_" . $suffix . ".ksh \nexit");
---
> file_put_contents($prefix . 'venn_diagram0_' . $suffix . '.ksh', "#!/bin/ksh\n/usr/bin/" . $verb . $switch . " " . $tprefix . "venn_diagram_" . $suffix . "." . $codeext . $codeafters . " 2>> " . $prefix . "venn_diagram.bad \nsleep 5\n\n/usr/bin/" .$verb . $switch . $tprefix . "venn_diagram_" . $suffix . "." . $codeext . $codeafters . " 2>> " . $prefix . "venn_diagram.bad \n\nrm -f " . $tprefix . "venn_diagram_" . $suffix . "." . $codeext . " \nrm -f " . $prefix . "venn_diagram_" . $suffix . ".ksh \nexit");
635c635
< var lasturl='', lasttext=null, gzero=null, gone=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', wasfrom=null, relrec='', clickcnt=0, lastwoo=null, lastj=0, lssel='', zerodotsix='0.6', bconto=null, pos3=0, pos4=0, dbt='', ifrect=null, bigoh='', lastoh='', lasto=null, svgconto=null, ellfill='', ellfillop='', midpoint='', rxry='', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false;
---
> var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', clickcnt=0, lastwoo=null, lastj=0, lssel='', zerodotsix='0.6', bconto=null, pos3=0, pos4=0, dbt='', ifrect=null, bigoh='', lastoh='', lasto=null, svgconto=null, lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false;
645,647d644
< var mycx=0, mycy=0;
< var ptsare=[];
< var ynn='youllneverfindthis';
655,656d651
< midpoint='';
< rxry='';
678,688d672
< case 'polygon':
< ynn='cx';
< if (inoh.indexOf(' points=\"') != -1) {
< ptsare=inoh.split(' points=\"')[1].split('\"')[0].replace(/\ /g,',').split(',');
< rxry=',' + Math.abs(eval(eval('' + ptsare[4]) - eval('' + ptsare[0]))) + ',' + Math.abs(eval(eval('' + ptsare[5]) - eval('' + ptsare[1])));
< mycx='' + eval(eval(eval('' + ptsare[4]) + eval('' + ptsare[0])) * 0.5); //eval(eval('' + ptsare[4]) - eval('' + ptsare[0]));
< mycy='' + eval(eval(eval('' + ptsare[5]) + eval('' + ptsare[1])) * 0.5); //eval(eval('' + ptsare[5]) - eval('' + ptsare[1]));
< midpoint=',' + eval(eval(eval('' + ptsare[4]) + eval('' + ptsare[0])) * 0.5) + ',' + eval(eval(eval('' + ptsare[5]) + eval('' + ptsare[1])) * 0.5);
< //alert('rxry=' + rxry + ' and midpoint=' + midpoint + ' and outoh=' + outoh);
< //var wer=prompt(szero.outerHTML, szero.outerHTML);
< }
690,693c674,675
< if (inoh.indexOf(' cx=') != -1) {
< mycx=inoh.split(' cx=')[1].substring(1).split(inoh.split(' cx=')[1].substring(0,1))[0];
< mycy=inoh.split(' cy=')[1].substring(1).split(inoh.split(' cy=')[1].substring(0,1))[0];
< }
---
> var mycx=inoh.split(' cx=')[1].substring(1).split(inoh.split(' cx=')[1].substring(0,1))[0];
> var mycy=inoh.split(' cy=')[1].substring(1).split(inoh.split(' cy=')[1].substring(0,1))[0];
697c679
< if (szero.outerHTML.indexOf(outoh.split(' fill=')[1].split(' ' + ynn + '=')[0].split('/>')[0].split('')[0].split('>')[0]) == -1) {
---
> if (szero.outerHTML.indexOf(outoh.split(' fill=')[1].split('/>')[0].split('')[0].split('>')[0]) == -1) {
700,702c682
< if (midpoint != '') {
< lastoh+=midpoint;
< } else if (eval('' + vsell.length) > 1) {
---
> if (eval('' + vsell.length) > 1) {
707,715c687,691
< } else if (szero.outerHTML.indexOf(outoh.split(' fill=')[1].split(' ' + ynn + '=')[0].split('/>')[0].split('')[0].split('>')[0]) != -1) {
< if (ynn == 'cx') {
< lastoh+=',0000' + eval(-2 + eval('' + szero.outerHTML.split(outoh.split(' fill=')[1].split(' ' + ynn + '=')[0].split('/>')[0].split('')[0].split('>')[0])[0].split('<' + (inoh + ' ').substring(1).split(' ')[0].split('>')[0] + ' ').length));
< } else {
< lastoh+=',0000' + eval(-1 + eval('' + szero.outerHTML.split(outoh.split(' fill=')[1].split(' ' + ynn + '=')[0].split('/>')[0].split('')[0].split('>')[0])[0].split('<' + (inoh + ' ').substring(1).split(' ')[0].split('>')[0] + ' ').length));
< }
< if (eval('' + vsell.length) > eval('' + szero.outerHTML.split(inoh)[0].split('<' + (inoh + ' ').substring(1).split(' ')[0].split('>')[0]).length)) {
< vssel.push('');
< lastoh+=',' + vsell[eval('' + szero.outerHTML.split(outoh.split(' fill=')[1].split(' ' + ynn + '=')[0].split('/>')[0].split('')[0].split('>')[0])[0].split('<' + (inoh + ' ').substring(1).split(' ')[0].split('>')[0] + ' ').length)].split(' pos=\"')[1].split('\"')[0];
---
> } else if (szero.outerHTML.indexOf(outoh.split(' fill=')[1].split('/>')[0].split('')[0].split('>')[0]) != -1) {
> lastoh+=',0000' + eval(-1 + eval('' + szero.outerHTML.split(outoh.split(' fill=')[1].split('/>')[0].split('')[0].split('>')[0])[0].split(' if (eval('' + vsell.length) > eval('' + szero.outerHTML.split(inoh)[0].split(' lastoh+=',' + vsell[eval('' + szero.outerHTML.split(outoh.split(' fill=')[1].split('/>')[0].split('')[0].split('>')[0])[0].split(' //alert('pos is ' + szero.outerHTML.split(outoh.split(' fill=')[1].split('/>')[0].split('')[0].split('>')[0])[0].split(' 1) {
---
> if (eval('' + vsell.length) > 1) {
765,775d738
< function fixgraph(osel) {
< var vone=document.getElementById('one').value;
< if (vone.indexOf('graph ') != -1 && osel.value != '') {
< if (document.getElementById('one').value.indexOf('digraph ') != -1 && osel.value.toLowerCase() == 'graph') {
< document.getElementById('one').value=vone.replace('digraph ', 'graph ');
< } else if (document.getElementById('one').value.indexOf('digraph ') == -1 && osel.value.toLowerCase() == 'digraph') {
< document.getElementById('one').value=vone.replace('graph ', 'digraph ');
< }
< }
< }
<
778c741
< if (vone.indexOf('shape=') != -1 && osel.value != '') {
---
> if (vone.indexOf('shape=') != '' && osel.value != '') {
785c748
< if (vone.indexOf('fontsize=') != -1 && oin.value != '') {
---
> if (vone.indexOf('fontsize=') != '' && oin.value != '') {
787,789d749
< if (eval('' + oin.value.indexOf(' ')) > 0) {
< oin.value=oin.value.split(' ')[0];
< }
793,851d752
< function hwize(whcom) {
< var whs=whcom.split(',');
< if (whcom.indexOf(',') != -1) {
< //alert('relrec=' + relrec + ' and wasfrom=' + wasfrom + ' and ' + whs[1] + ' width=' + whs[0]);
< return '' + whs[1] + ' width=' + whs[0];
< }
< //alert('Relrec=' + relrec + ' and wasfrom=' + wasfrom + ' ' + whcom);
< return '' + whcom;
< }
<
< function reshape(cshape, oit, polygono, centx, centy, widthd, heightd) {
< // points='198,-198 144,-198 144,-126 198,-126 198,-198'
< var outshape=cshape;
<
< if (outshape.indexOf(' rx=\"') != -1) {
< outshape=outshape.replace(' rx=\"' + outshape.replace(' rx=\"')[1].split('\"')[0] + '\"', ' rx=\"' + Math.round(eval('' + widthd)) + '\"');
< }
< if (outshape.indexOf(' ry=\"') != -1) {
< outshape=outshape.replace(' ry=\"' + outshape.replace(' ry=\"')[1].split('\"')[0] + '\"', ' ry=\"' + Math.round(eval('' + heightd)) + '\"');
< }
< if (outshape.indexOf(' cx=\"') != -1) {
< outshape=outshape.replace(' cx=\"' + outshape.replace(' cx=\"')[1].split('\"')[0] + '\"', ' cx=\"' + Math.round(eval('' + centx)) + '\"');
< }
< if (outshape.indexOf(' cy=\"') != -1) {
< outshape=outshape.replace(' cy=\"' + outshape.replace(' cy=\"')[1].split('\"')[0] + '\"', ' cy=\"' + Math.round(eval('' + centy)) + '\"');
< }
<
< if (('' + oit).indexOf('1') == 0) {
< polygono.setAttribute('rx', '' + Math.round(eval('' + widthd)));
< polygono.setAttribute('ry', '' + Math.round(eval('' + heightd)));
< polygono.setAttribute('cx', '' + Math.round(eval('' + centx)));
< polygono.setAttribute('cy', '' + Math.round(eval('' + centy)));
< }
<
< var cpts='';
<
< cpts='';
< cpts+='' + Math.round(eval('' + centx) + eval(eval('' + widthd) / 2)) + ',';
< cpts+='' + Math.round(eval('' + centy) - eval(eval('' + heightd) / 2)) + ' ';
< cpts+='' + Math.round(eval('' + centx) - eval(eval('' + widthd) / 2)) + ',';
< cpts+='' + Math.round(eval('' + centy) - eval(eval('' + heightd) / 2)) + ' ';
< cpts+='' + Math.round(eval('' + centx) - eval(eval('' + widthd) / 2)) + ',';
< cpts+='' + Math.round(eval('' + centy) + eval(eval('' + heightd) / 2)) + ' ';
< cpts+='' + Math.round(eval('' + centx) + eval(eval('' + widthd) / 2)) + ',';
< cpts+='' + Math.round(eval('' + centy) + eval(eval('' + heightd) / 2)) + ' ';
< cpts+='' + Math.round(eval('' + centx) + eval(eval('' + widthd) / 2)) + ',';
< cpts+='' + Math.round(eval('' + centy) - eval(eval('' + heightd) / 2)) + '';
<
< if (('' + oit).indexOf('1') == 0) {
< polygono.setAttribute('points', cpts);
< }
<
< outshape=outshape.replace(cshape.split(' points=\"')[1].split('\"')[0], cpts);
<
< //alert(oit + ' ' + outshape + ' ' + cshape);
<
< return outshape;
< }
<
853,854c754
< var mshape='ellipse';
< var mxpts=0, mypts=0, mx=0, my=0, mxnew=0, mynew=0, wasto=null, szeroouterHTML='', newr=0, newry=0, svgindexofinterest=0;
---
> var mxpts=0, mypts=0, mx=0, my=0, mxnew=0, mynew=0, wasfrom=null, wasto=null, szeroouterHTML='', newr=0, svgindexofinterest=0;
857,858d756
< var yncolft='youllneverfindthis', yncolftw='';
< var zncolft='youllneverfindthis', zncolftw='';
863,864d760
< var defcol='#90806090';
< var atoz='0123456789abcdef';
866,877c762
< var eight=8;
< var ynn='youllneverfindthis';
< relrec='';
< wasfrom=null;
< var wh=[];
< var sets=[];
< var cpts='';
< var shapeword='circle';
< var diameter='diameter (or use comma for ellipse width,height)';
< ellfill='';
< ellfillop='';
< if (xprevlastoh.indexOf(' var relrec='';
910c795
< if (xprevlastoh.indexOf('<' + mshape) != -1) {
---
> if (xprevlastoh.indexOf('')[0].split('>')[0] + '>' + mshape + '>').replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx'), '' + xpos3).replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy'), '' + xpos4));
---
> //alert((xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx'), '' + xpos3).replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy'), '' + xpos4));
934,941d817
< if (mshape == 'polygon') {
< cpts=document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('points');
< sets=cpts.split(' ');
< for (var klj=0; klj' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]) + ')';
---
> document.getElementById('ltd').style.backgroundRepeat='no-repeat';
> document.getElementById('ltd').style.backgroundPosition='right bottom';
> document.getElementById('ltd').style.backgoundImage='URL(data:image/svg+xml;base64,' + window.btoa(szero.outerHTML.replace('' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]) + ')';
950,952d825
< if (mshape == 'polygon') {
< wasfrom='' + eval(eval(eval('' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('rx')) * 8 / 3) / 96) + ',' + eval(eval(eval('' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('ry')) * 8 / 3) / 96); //'1'; //svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).innerHTML;
< } else {
954,955c827
< }
< wasto=prompt('If you want the ' + shapeword + ' ' + diameter + ' not be as suggested (in inches), enter different ' + diameter.split(' (or use comma')[0] + ' (in inches) now, where for any non-initial ' + shapeword + 's a value of 0 makes them invisible. Prefix + to your answer means an independent new ' + shapeword + ' is created. Suffix with hash (#) followed by 6 or 8 character length fill colour. Cancel withdraws proposed changes that are positionally shown below.', wasfrom);
---
> wasto=prompt('If you want the circle diameter not be as suggested (in inches), enter different diameter (in inches) now, where for any non-initial circles a value of 0 makes them invisible. Prefix + to your answer means an independent new circle is created. Cancel withdraws proposed changes that are positionally shown below.', wasfrom);
961d832
< wh=wasto.split(',');
963,975d833
< if ((' ' + wasto).slice(-9).substring(0,1) == '#') {
< yncolftw=' fillcolor=\"' + wasto.slice(-9) + '\"';
< ellfill='' + wasto.slice(-9).substring(0,7);
< defcol=wasto.slice(-9);
< ellfillop='' + eval(eval(eval(eval('' + atoz.split(wasto.slice(-2).substring(0,1).toLowerCase())[0].length) * 16) + eval(eval('' + atoz.split(wasto.slice(-1).substring(0,1).toLowerCase())[0].length) * 1)) / 256);
< wasto=wasto.replace(wasto.slice(-9), '');
< } else if ((' ' + wasto).slice(-7).substring(0,1) == '#') {
< yncolftw=' fillcolor=\"' + wasto.slice(-7) + '\"';
< defcol=wasto.slice(-7);
< ellfill='' + wasto.slice(-7).substring(0,7);
< ellfillop='1.0';
< wasto=wasto.replace(wasto.slice(-7), '');
< }
978,980d835
< if (relrec.indexOf(' fillcolor=') != -1 && yncolftw != '') {
< yncolft=' fillcolor=\"' + relrec.split(' fillcolor=\"')[1].split('\"')[0] + '\"';
< }
991c846
< //alert('ynftw=' + ynftw + ' ... ' + document.getElementById('one').value.replace(relrec, relrec.replace('' + relrec.substring(0).split(' ')[0] + ' ', '[height=' + hwize(wasto.replace(/^\+/g,'')) + ' ').replace(ynft, ynftw).replace(yncolft, yncolftw).replace(zncolft, zncolftw)));
---
> //alert('ynftw=' + ynftw + ' ... ' + document.getElementById('one').value.replace(relrec, relrec.replace('' + relrec.substring(0).split(' ')[0] + ' ', '[height=' + wasto.replace(/^\+/g,'') + ' ').replace(ynft, ynftw)));
993d847
< if (wasto.trim() == '') { wasto='0'; } else if (wasto.trim() == '+') { wasto='+0'; }
995c849
< document.getElementById('one').value=document.getElementById('one').value.replace(relrec, relrec.replace('' + relrec.substring(0).split(' ')[0] + ' ', '[height=' + hwize(wasto.replace(/^\+/g,'')) + ' ').replace(ynft, ynftw).replace(yncolft, yncolftw).replace(zncolft, zncolftw));
---
> document.getElementById('one').value=document.getElementById('one').value.replace(relrec, relrec.replace('' + relrec.substring(0).split(' ')[0] + ' ', '[height=' + wasto.replace(/^\+/g,'') + ' ').replace(ynft, ynftw));
998c852
< document.getElementById('one').value=document.getElementById('one').value.replace('[height=' + partsof[eval(-1 + partsof.length)].split(']')[0] + ']', '[height=' + partsof[eval(-1 + partsof.length)].split(']')[0] + ']' + String.fromCharCode(10) + ' ' + clickcnt + ' [height=' + hwize(wasto.replace(/^\+/g,'')) + ' fillcolor=\"' + defcol + '\" style=\"filled\" pos=\"' + Math.round(dotx) + ',' + Math.round(doty) + '\" label=\"\" xlabel=\"\"]');
---
> document.getElementById('one').value=document.getElementById('one').value.replace('[height=' + partsof[eval(-1 + partsof.length)].split(']')[0] + ']', '[height=' + partsof[eval(-1 + partsof.length)].split(']')[0] + ']' + String.fromCharCode(10) + ' ' + clickcnt + ' [height=' + wasto.replace(/^\+/g,'') + ' fillcolor=\"#90806090\" style=\"filled\" pos=\"' + Math.round(dotx) + ',' + Math.round(doty) + '\" label=\"\" xlabel=\"\"]');
1002d855
< wh=wasto.split(',');
1005d857
< wh=wasto.substring(1).split(',');
1007,1013c859,861
< newr='' + eval(eval(wasto.substring(1).split(',')[0] * 96 * 3 / eight));
< if (eval('' + wh.length) > 1) { newry='' + eval(eval(wasto.replace(/^\+/g,'').split(',')[1] * 96 * 3 / eight)); } else { newry=newr; }
< //alert('here ' + (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=newel' + clickcnt + '>' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('rx') + '\"', '\"' + newr + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('ry') + '\"', '\"' + newry + '\"'));
< if (mshape == 'polygon') {
< xprevlastoh=reshape(xprevlastoh, '0.0', svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]), mxnew, mynew, newr, newry);
< //gone.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('rx') + '\"', '\"' + newr + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('ry') + '\"', '\"' + newry + '\"');
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('rx') + '\"', '\"' + newr + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('ry') + '\"', '\"' + newry + '\"');
---
> newr='' + eval(eval(wasto.substring(1) * 96 * 3 / 8));
> //alert('here ' + (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + ' id=newel' + clickcnt + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('rx') + '\"', '\"' + newr + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('ry') + '\"', '\"' + newr + '\"'));
> gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('rx') + '\"', '\"' + newr + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('ry') + '\"', '\"' + newr + '\"');
1015c863,864
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('rx') + '\"', '\"' + newr + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('ry') + '\"', '\"' + newry + '\"');
---
> //alert('There ' + (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + ' id=newel' + clickcnt + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"'));
> gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
1017,1045d865
< if (ellfill != '') {
< setTimeout(function(){ svgconto.document.getElementById('newel' + clickcnt).setAttribute('fill', '' + ellfill); }, 1000);
< //alert('111:' + ellfill + ' ' + ellfillop);
< }
< if (ellfillop != '') {
< setTimeout(function(){ svgconto.document.getElementById('newel' + clickcnt).setAttribute('fill-opacity', '' + ellfillop); }, 1100);
< }
< } else {
< //alert('There ' + (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=newel' + clickcnt + '>' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"'));
< if (mshape == 'polygon') {
< xprevlastoh=reshape(xprevlastoh, '0.1', svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]), mxnew, mynew, newr, newry);
< //gone.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
< } else {
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + mshape + '>').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
< }
< if (ellfill != '') {
< setTimeout(function(){ svgconto.document.getElementById('newel' + clickcnt).setAttribute('fill', '' + ellfill); }, 1000);
< //alert('11:' + ellfill + ' ' + ellfillop);
< }
< if (ellfillop != '') {
< setTimeout(function(){ svgconto.document.getElementById('newel' + clickcnt).setAttribute('fill-opacity', '' + ellfillop); }, 1100);
< }
< }
< } else {
< if (mshape == 'polygon') {
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('cx', '' + mxnew);
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('cy', '' + mynew);
< xprevlastoh=reshape(xprevlastoh, '1.0', svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]), svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx'), svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy'), newr, newry);
1047,1057c867,868
< wh=wasto.replace(/^\+/g,'').split(',');
< newr='' + eval(eval(wasto.replace(/^\+/g,'').split(',')[0] * 96 * 3 / eight));
< if (eval('' + wh.length) > 1) { newry='' + eval(eval(wasto.replace(/^\+/g,'').split(',')[1] * 96 * 3 / eight)); } else { newry=newr; }
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('rx', '' + Math.round(newr));
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('ry', '' + Math.round(newry));
< }
< if (ellfill != '') {
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('fill', '' + ellfill);
< }
< if (ellfillop != '') {
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('fill-opacity', '' + ellfillop);
---
> svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('rx', '' + eval(eval('' + wasto) * 48 * 3 / 4));
> svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('ry', '' + eval(eval('' + wasto) * 48 * 3 / 4));
1060d870
< }
1063,1069d872
< newr='' + eval(eval(wasto.substring(0).split(',')[0] * 96 * 3 / eight));
< if (wasto.indexOf(',') != -1) { newry='' + eval(eval(wasto.substring(0).split(',')[1] * 96 * 3 / eight)); } else { newry=newr; }
< if (mshape == 'polygon') {
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('cx', '' + mxnew);
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('cy', '' + mynew);
< xprevlastoh=reshape(xprevlastoh, '1.1', svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]), svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx'), svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy'), newr, newry);
< } else {
1073,1079d875
< if (ellfill != '') {
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('fill', '' + ellfill);
< }
< if (ellfillop != '') {
< svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).setAttribute('fill-opacity', '' + ellfillop);
< }
< }
1081,1096c877
< newr='' + eval(eval(wasto.replace(/^\+/g,'').substring(0).split(',')[0] * 96 * 3 / eight));
< if (wasto.indexOf(',') != -1) { newry='' + eval(eval(wasto.replace(/^\+/g,'').substring(0).split(',')[1] * 96 * 3 / eight)); } else { newry=newr; }
< if (mshape == 'polygon') {
< xprevlastoh=reshape(xprevlastoh, '0.4', svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]), mxnew, mynew, newr, newry);
< //gone.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=newel' + clickcnt + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=newel' + clickcnt + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
< } else {
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=newel' + clickcnt + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
< }
< if (ellfill != '') {
< setTimeout(function(){ svgconto.document.getElementById('newel' + clickcnt).setAttribute('fill', '' + ellfill); }, 1000);
< //alert('1:' + ellfill + ' ' + ellfillop);
< }
< if (ellfillop != '') {
< setTimeout(function(){ svgconto.document.getElementById('newel' + clickcnt).setAttribute('fill-opacity', '' + ellfillop); }, 1100);
< }
---
> gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"');
1100c881
< //woox.document.write(szero.outerHTML.replace('' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]);
---
> //woox.document.write(szero.outerHTML.replace('' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]);
1104,1106d884
<
<
<
1118c896
< //alert((xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + mshape + '>').replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x'), '' + xpos3).replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y'), '' + xpos4));
---
> //alert((xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x'), '' + xpos3).replace(svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y'), '' + xpos4));
1121,1123c899,900
< //document.getElementById('ltd').style.backgroundRepeat='no-repeat';
< //document.getElementById('ltd').style.backgroundPosition='right bottom';
< //alert(1);
---
> document.getElementById('ltd').style.backgroundRepeat='no-repeat';
> document.getElementById('ltd').style.backgroundPosition='right bottom';
1128d904
< //alert(11);
1130,1131c906
< //document.getElementById('ltd').style.backgoundImage=\"URL('data:image/svg+xml;utf8,\" + (szeroouterHTML.replace('' + gess[eval(-1 + gess.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"') + '') + '' + gess[eval(-1 + ges.length)]) + \"')\";
< //alert(111);
---
> document.getElementById('ltd').style.backgoundImage=\"URL('data:image/svg+xml;utf8,\" + (szeroouterHTML.replace('' + gess[eval(-1 + gess.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"') + '') + '' + gess[eval(-1 + ges.length)]) + \"')\";
1137,1142c912,914
< //document.getElementById('ltd').style.backgroundRepeat='no-repeat';
< //document.getElementById('ltd').style.backgroundPosition='right bottom';
< //document.getElementById('ltd').style.backgoundImage='URL(data:image/svg+xml;base64,' + window.btoa(szero.outerHTML.replace('' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]) + ')';
< //alert(1111);
< document.getElementById('bltd').style.display='block';
< document.getElementById('bltd').style.visibility='visible';
---
> document.getElementById('ltd').style.backgroundRepeat='no-repeat';
> document.getElementById('ltd').style.backgroundPosition='right bottom';
> document.getElementById('ltd').style.backgoundImage='URL(data:image/svg+xml;base64,' + window.btoa(szero.outerHTML.replace('' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cx') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('cy') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]) + ')';
1144d915
< //alert(11111);
1182c953
< //alert('ynftw=' + ynftw + ' ... ' + document.getElementById('one').value.replace(relrec, relrec.replace('' + relrec.substring(0).split(' ')[0] + ' ', '[height=' + hwize(wasto.replace(/^\+/g,'')) + ' ').replace(ynft, ynftw).replace(yncolft, yncolftw).replace(zncolft, zncolftw).replace(' xlabel=\"' + wasfrom + '\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"').replace(' xlabel=\"\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"')));
---
> //alert('ynftw=' + ynftw + ' ... ' + document.getElementById('one').value.replace(relrec, relrec.replace('' + relrec.substring(0).split(' ')[0] + ' ', '[height=' + wasto.replace(/^\+/g,'') + ' ').replace(ynft, ynftw).replace(' xlabel=\"' + wasfrom + '\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"').replace(' xlabel=\"\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"')));
1184c955
< document.getElementById('one').value=document.getElementById('one').value.replace(relrec, relrec.replace(' ' + wasfrom + ' [height=', ' ' + wasto.replace(/^\+/g,'') + ' [height=').replace(ynft, ynftw).replace(yncolft, yncolftw).replace(zncolft, zncolftw).replace(' xlabel=\"' + wasfrom + '\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"').replace(' xlabel=\"\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"'));
---
> document.getElementById('one').value=document.getElementById('one').value.replace(relrec, relrec.replace(' ' + wasfrom + ' [height=', ' ' + wasto.replace(/^\+/g,'') + ' [height=').replace(ynft, ynftw).replace(' xlabel=\"' + wasfrom + '\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"').replace(' xlabel=\"\"', ' xlabel=\"' + wasto.replace(/^\+/g,'') + '\"'));
1193,1194c964,965
< //alert('adding ' + (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + wasto.replace(/^\+/g,'') + '').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"'));
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + wasto.replace(/^\+/g,'') + '').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"');
---
> //alert('adding ' + (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>' + wasto.replace(/^\+/g,'') + '').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"'));
> gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + ' id=\"newel' + clickcnt + '\">' + wasto.replace(/^\+/g,'') + '').replace('>' + wasfrom + '<', '>' + wasto.substring(1) + '<').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"');
1205c976
< gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"');
---
> gzero.innerHTML+=(xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"');
1209c980
< //woox.document.write(szero.outerHTML.replace('' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split(' ' + ynn + '=')[0].split('/>')[0].split('>')[0] + '>' + mshape + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]);
---
> //woox.document.write(szero.outerHTML.replace('' + ges[eval(-1 + ges.length)], (xprevlastoh.split(' id=')[0].split(' ID=')[0].split('/>')[0].split('>')[0] + '>').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('x') + '\"', '\"' + mxnew + '\"').replace('\"' + svgconto.document.getElementById(xprevlastoh.split(',')[eval(-1 + xprevlastoh.split(',').length)]).getAttribute('y') + '\"', '\"' + mynew + '\"') + '') + '' + ges[eval(-1 + ges.length)]);
1311d1081
< //alert('LASTOH=' + lastoh);
1314d1083
< //alert('LAStOH=' + lastoh);
1318,1328d1086
< //alert('lastoh=' + lastoh);
< if (midpoint != '' && rxry != '') {
< evt.target.setAttribute('cx', '' + midpoint.replace(/^\,/g,'').split(',')[0]);
< evt.target.setAttribute('cy', '' + midpoint.replace(/^\,/g,'').split(',')[1]);
< evt.target.setAttribute('rx', '' + rxry.replace(/^\,/g,'').split(',')[0]);
< evt.target.setAttribute('ry', '' + rxry.replace(/^\,/g,'').split(',')[1]);
< lastoh.replace('/>', '>' + lastoh.substring(1).split(' ')[0] + '>');
< lastoh.replace('>', ' cx=\"' + midpoint.replace(/^\,/g,'').split(',')[0] + '\" cy=\"' + midpoint.replace(/^\,/g,'').split(',')[1] + '\" rx=\"' + midpoint.replace(/^\,/g,'').split(',')[0] + '\" ry=\"' + rxry.replace(/^\,/g,'').split(',')[1] + '\">');
< midpoint='';
< rxry='';
< }
1333,1343d1090
< //alert('Lastoh=' + lastoh);
< if (midpoint != '' && rxry != '') {
< evt.target.setAttribute('cx', '' + midpoint.replace(/^\,/g,'').split(',')[0]);
< evt.target.setAttribute('cy', '' + midpoint.replace(/^\,/g,'').split(',')[1]);
< evt.target.setAttribute('rx', '' + rxry.replace(/^\,/g,'').split(',')[0]);
< evt.target.setAttribute('ry', '' + rxry.replace(/^\,/g,'').split(',')[1]);
< lastoh.replace('/>', '>' + lastoh.substring(1).split(' ')[0] + '>');
< lastoh.replace('>', ' cx=\"' + midpoint.replace(/^\,/g,'').split(',')[0] + '\" cy=\"' + midpoint.replace(/^\,/g,'').split(',')[1] + '\" rx=\"' + midpoint.replace(/^\,/g,'').split(',')[0] + '\" ry=\"' + rxry.replace(/^\,/g,'').split(',')[1] + '\">');
< midpoint='';
< rxry='';
< }
1915d1661
< gone=gs[0];
1917d1662
< if (('' + gs[sd].id) == 'node1') { gone=gs[sd]; }
2051d1795
< #fsize { width: 80px; }
2068c1812
<
Trying out Dot GraphViz hosted in PHP " . $plus . " Venn Diagram 📧 📟
---
> Trying out Dot GraphViz hosted in PHP " . $plus . " Venn Diagram 📧 📟
2076c1820
<
---
>
2100c1844
< var lasturl='', lasttext=null, gone=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', clickcnt=0, lastwoo=null, lastj=0, lssel='', zerodotsix='0.6', bconto=null, pos3=0, pos4=0, dbt='', ifrect=null, bigoh='', lastoh='', lasto=null, svgconto=null, ellfill='', ellfillop='', midpoint='', rxry='', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false;
---
> var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', clickcnt=0, lastwoo=null, lastj=0, lssel='', zerodotsix='0.6', bconto=null, pos3=0, pos4=0, dbt='', ifrect=null, bigoh='', lastoh='', lasto=null, svgconto=null, lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false;
2267,2277d2010
< function fixgraph(osel) {
< var vone=document.getElementById('one').value;
< if (vone.indexOf('graph ') != -1 && osel.value != '') {
< if (document.getElementById('one').value.indexOf('digraph ') != -1 && osel.value.toLowerCase() == 'graph') {
< document.getElementById('one').value=vone.replace('digraph ', 'graph ');
< } else if (document.getElementById('one').value.indexOf('digraph ') == -1 && osel.value.toLowerCase() == 'digraph') {
< document.getElementById('one').value=vone.replace('graph ', 'digraph ');
< }
< }
< }
<
2280c2013
< if (vone.indexOf('shape=') != -1 && osel.value != '') {
---
> if (vone.indexOf('shape=') != '' && osel.value != '') {
2287c2020
< if (vone.indexOf('fontsize=') != -1 && oin.value != '') {
---
> if (vone.indexOf('fontsize=') != '' && oin.value != '') {
2289,2291d2021
< if (eval('' + oin.value.indexOf(' ')) > 0) {
< oin.value=oin.value.split(' ')[0];
< }
2294c2024
<
---
>
3075d2804
< #fsize { width: 80px; }
3092c2821
< Trying out Dot GraphViz hosted in PHP " . $plus . " Venn Diagram 📧 📟
---
> Trying out Dot GraphViz hosted in PHP " . $plus . " Venn Diagram 📧 📟
3100c2829
<
---
>