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

Link Labels Feature #102

Open zyansheep opened 10 months ago

zyansheep commented 10 months ago

Closes #100

This PR is a little messy (changed a few things to make webpack building easier)

Also the code is not very DRY, I basically just copy-pasted the node filter scheme to make it work with links.

Also there is a small bug caused by implementation details with the global link / link label hide / show features (showing all the links will show all links instead of showing all links not filtered).

Lmk what you think!

infologie commented 10 months ago

@zyansheep Thanks for submitting a pull request. Some of my colleagues have requested this feature recently, so I'm on board. This one will probably involve @Myllaume more than I, so I will ask him to check the code. edit I don't have a specific timeframe to give you because we haven't yet planned the next development cycle, so I'll get back to you on that. (More info on our "Now" page: https://cosma.arthurperret.fr/now.html)