update style

This commit is contained in:
Fine 2022-08-26 10:18:51 +08:00
parent f1b554ccbd
commit fde0111f28
2 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export const linkElement = (graph: any) => {
export const anchorElement = (graph: any, funcs: any, tip: any) => {
const linkEnter = graph
.append("g")
.attr("style", "cursor: move;")
.attr("class", "topo-line-anchor")
.on("mouseover", function (event: unknown, d: unknown) {
tip.html(funcs.tipHtml).show(d, this);
})

View File

@ -453,6 +453,10 @@ watch(
cursor: move;
}
.topo-line-anchor {
cursor: pointer;
}
.switch-icon-edit {
cursor: pointer;
transition: all 0.5ms linear;