forked from enviPath/enviPy
Make links thicker, reduce timeout trigger time
This commit is contained in:
@ -263,7 +263,7 @@ function draw(pathway, elem) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Wait before showing popup (ms)
|
// Wait before showing popup (ms)
|
||||||
var popupWaitBeforeShow = 1000;
|
var popupWaitBeforeShow = 500;
|
||||||
|
|
||||||
// Custom popover element
|
// Custom popover element
|
||||||
let popoverTimeout = null;
|
let popoverTimeout = null;
|
||||||
@ -661,7 +661,6 @@ function draw(pathway, elem) {
|
|||||||
.append("g")
|
.append("g")
|
||||||
.attr("class", "link-group");
|
.attr("class", "link-group");
|
||||||
|
|
||||||
|
|
||||||
const link = linkGroup
|
const link = linkGroup
|
||||||
.append("path")
|
.append("path")
|
||||||
.attr("class", d => d.target.pseudo ? "link_no_arrow" : "link")
|
.attr("class", d => d.target.pseudo ? "link_no_arrow" : "link")
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
.link {
|
.link {
|
||||||
stroke: #999;
|
stroke: #999;
|
||||||
stroke-opacity: 0.6;
|
stroke-opacity: 0.6;
|
||||||
|
stroke-width: 1.5px;
|
||||||
/* marker-end: url(#arrow); */
|
/* marker-end: url(#arrow); */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user