graphlab-fr / cosma

Cosma is a document graph visualization tool. It modelizes interlinked Markdown files and renders them as an interactive network in a web interface.
https://cosma.arthurperret.fr
GNU General Public License v3.0
125 stars 4 forks source link

[Bug] Arrow tip color does not update on highlight #118

Open IgnacioHeredia opened 5 months ago

IgnacioHeredia commented 5 months ago

What version of Cosma are you using?

Cosma 2.4.0

On which operating system(s) did you observe the bug?

What version of the operating system are you on?

Ubuntu 20.04

Actions leading to the bug

In my config I have customized both the link color (gray) and the color on highlight (yellow)

link_types:
  undefined:
    stroke: simple
    color: "#636363"
graph_highlight_color: "#f5ed00"

Bug description

When highlighting a link, the link changes color (as expected) but the arrow tip stays in the original color (gray).

image

Additional information

Not a big issue for me, as I don't really care about directionality, but just thought of letting you know. ;)

infologie commented 5 months ago

@IgnacioHeredia Good catch! We've just started a new development cycle with @Myllaume. I will see with him if we can fix this easily.