/usr/lib/python2.7/dist-packages/sagenb/data/graph_editor/graph_editor.html is in python-sagenb 1.0.1+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | <html>
<head>
<title>Graph Editor</title>
<style type="text/css">
body {
font-size: 10pt;
}
canvas {
border: 1px solid;
height: 350px;
width: 350px;
margin: 20px;
float: left;
}
tr.live_slider {
height: 1.75em;
}
div.slider {
width : 150px;
}
#help {
display: hidden;
}
h3 {
color: #aa0;
margin: 10px;
}
</style>
<script type="text/javascript" src="/javascript/jquery/jquery.min.js"></script>
<link rel="stylesheet" href="/javascript/jqueryui/css/sage/jquery-ui.min.css" />
<script type="text/javascript" src="/javascript/jqueryui/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/javascript/graph_editor/processing.editor.min.js"></script>
<script type="text/javascript" src="/javascript/graph_editor/graph_editor.js"></script>
</head>
<body>
<canvas id="canvas"></canvas>
<table>
<tbody>
<tr>
<td>
live:
</td>
<td>
<input type="checkbox" id="live" value="true" />
</td>
</tr>
<tr>
<td>
variable name:
</td>
<td>
<input type="text" id="graph_name" size="20" />
</td>
</tr>
<tr class="live_slider">
<td>
strength:
</td>
<td>
<input type="hidden" id="val_edge" name="val_edge" value="50" />
<div class="slider" id="slider_edge"></div>
</td>
</tr>
<tr class="live_slider">
<td>
length:
</td>
<td>
<input type="hidden" id="val_fixed_length" name="val_fixed_length" value="100" />
<div class="slider" id="slider_fixed_length"></div>
</td>
</tr>
</tbody>
</table>
<input type="button" id="help_button" value="help">
<ul id="help">
<li><h3>move vertex</h3>Vertices are draggable.
<li><h3>create vertex</h3>Click on empty space not too close to existing vertices.
<li><h3>select a vertex</h3>Click on existing vertex.
<li><h3>create/erase edge</h3>Select the first vertex. Click on another vertex (different than the selected one) to turn on/off (toggle) the edge between them.
<li><h3>keep the selected vertex</h3>Hold 'SHIFT' to perserve the selected vertex after creating/erasing an edge.
<li><h3>delete vertex</h3>Double click on vertex or drag to the edge for the frame (be careful, there is no UNDO yet!).
</ul>
</body>
</html>
|