editor

126 days ago by ondrej

a=""" <html><font color='black'><div id="graph_editor_15"><table><tbody> <tr><td><iframe style="width: 800px; height: 400px; border: 0;" id="iframe_graph_editor_15" src="http://sagenb.org/javascript/graph_editor/graph_editor.html?cell_id=2">&\ lt;/iframe><input type="hidden" id="graph_data_15" value="num_vertices=10;edges=[[0,1],[0,2],[0,9],[1,3],[1,5],[1,9],[2,5],\ [2,9],[3,4],[3,5],[4,5],[4,6],[4,8],[5,7],[5,8],[5,9],[6,7],[6,8],[7,8]]\ ;pos=[[0.85969787866592817,1.0],[1.0,0.57246243793287521],[0.38089738894\ 155506,0.87410037417370956],[0.87119895770107469,0.19668988989675429],[0\ .49383292431847414,0.0],[0.52904261112749584,0.444313708660242],[0.0,0.0\ 31426053156147993],[0.03377697518757207,0.47922950582519996],[0.26270263\ 773745284,0.24066482895649044],[0.68779458742248067,0.72535183946028337]\ ];"><input type="hidden" id="graph_name_15" value=""></td></tr> <tr><td><button onclick=" var f, g, saved_input; g = $('#iframe_graph_editor_15')[0].contentWindow.update_sage(); if (g[2] === '') { alert('You need to give a Sage variable name to the graph, before saving it.'); return; } f = g[2] + ' = Graph(' + g[0] + '); ' + g[2] + '.set_pos(' + g[1] + '); ' f += ' graph_editor(' + g[2] + ');' $('#cell_input_15').val(f); cell_input_resize(15); evaluate_cell(15, false); ">Save</button><button onclick="cell_delete_output(2);">Close</button>&am\ p;lt;/td></tr> </tbody></table></div><\ /font></html> """ 
       
print a