| Age | Commit message (Collapse) | Author |
|
|
|
make search+input boxes share a fixed div, use floats for nice(er)
responsiveness to width changes.
|
|
|
|
https://developer.mozilla.org/en-US/docs/Web/CSS/filter?redirectlocale=en-US&redirectslug=CSS%2Ffilter#Browser_compatibility
|
|
|
|
|
|
|
|
So now you can change for instance:
$('.perm').each(function(i,x) { x.style.opacity=0.1; })
|
|
TODO 1:
This is a bit magic. The problem is that I'm not sure exactly if the
nodes/edges given to the click callback are updated correctly when we
just do renames. So the code is a bit protective - it compares names
instead of comparing objects. This might work or not later with multiple
edges. But I really need to fix it so we never have callbacks with stale
data.
TODO 2:
Plus I'm not using classes correctly, instead setting attributes in the
d3 update function (update). This is already done but is a bad smell,
makes it harder to change properties easily. Used for stroke-width here
and for nodes, for color.
|
|
|
|
The browse button still needs to be fixed. Maybe this:
http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
|
|
This changes our current svg. We already had a <g id="link-group">
and under it <path class="link graph"> elements (class changes for
selection).
Now we have <g class="link graph"> elements containing two paths:
one for display, one for selection.
the display has stroke-width of 2 (defined in res/css/style.css) and the
selection has stroke-width of 5 and stroke not defined to make it
invisible plus a higher z-index to catch the click.
|
|
|
|
|