diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-11 22:57:24 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-11 22:57:24 +0200 |
| commit | 3af0a82791b6bf3e24015d652c9fbddba0d1cfeb (patch) | |
| tree | 74aa4f9bba8bd4dfe8fd242577eb4a5fca7a674d /res/css/style.css | |
| parent | 11c0789ae6e5b0e8e91c55d36a64ce27cd533265 (diff) | |
Fix highlight of node and edge
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.
Diffstat (limited to 'res/css/style.css')
| -rw-r--r-- | res/css/style.css | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/res/css/style.css b/res/css/style.css index b8d10cc5..14a33d77 100644 --- a/res/css/style.css +++ b/res/css/style.css @@ -129,7 +129,6 @@ input:focus { .link { fill: none; stroke: #404040; - stroke-width: 2px; z-index:1; } |
