summaryrefslogtreecommitdiff
path: root/bubble.html
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-05-21 12:46:36 +0200
committerPeter Wu <peter@lekensteyn.nl>2014-05-21 12:46:36 +0200
commit830dd5e5d40ed39b435c8d0ab2a834c7abfaf7a0 (patch)
tree374b869d4cac54ec2fc1bc5d0abfd18051df6d8c /bubble.html
parentdd6e5fbbb759a37262dff252ec20013f25c19546 (diff)
downloadd3viz-830dd5e5d40ed39b435c8d0ab2a834c7abfaf7a0.tar.gz
Color neighbors on hover
Diffstat (limited to 'bubble.html')
-rw-r--r--bubble.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/bubble.html b/bubble.html
index e50fab1..79359d6 100644
--- a/bubble.html
+++ b/bubble.html
@@ -92,8 +92,11 @@ html, body {
.node.ham {
fill: green;
}
+.node.neighbor {
+ fill: #fcc;
+}
.node.selected {
- fill: red;
+ fill: #f00;
}
.link {
stroke: #999;
@@ -104,6 +107,9 @@ html, body {
.arrow-head {
fill-opacity: .6;
}
+.link.neighbor {
+ stroke: #f99;
+}
</style>
<body>