Skip to content

feat: improve map colorization#277

Merged
rotanid merged 3 commits intomainfrom
improve_map_colorization
Jan 4, 2026
Merged

feat: improve map colorization#277
rotanid merged 3 commits intomainfrom
improve_map_colorization

Conversation

@maurerle
Copy link
Member

@maurerle maurerle commented Dec 30, 2025

Description

This increases compatibility with hopglass by allowing a colorization of uplink nodes in the graph view of the mesh network.

Furthermore, the option to adjust the colorized link in the map view has been added.

Motivation and Context

Similar things have been done in srauscher/meshviewer@00e90e3

Screenshot

image

@rotanid rotanid merged commit fa527a4 into main Jan 4, 2026
2 checks passed
@rotanid rotanid deleted the improve_map_colorization branch January 4, 2026 19:10
@T-X
Copy link

T-X commented Jan 8, 2026

Does one need to configure something explicitly to have uplink nodes coloured in blue? For me all nodes still seem to be white in the topology view: https://map.luebeck.freifunk.net/meshviewer/#/en/graph/4c13650016e0

The installation should run on 585e05f.

@maurerle
Copy link
Member Author

maurerle commented Jan 9, 2026

No, this should not need something special.
You do need to have the gateways on the meshviewer though:
Take a look here: https://map.aachen.freifunk.net/#/en/graph

The helper function hasUplink looks at an existing linkType of type VPN..
How did hopglass do this instead?

@maurerle
Copy link
Member Author

maurerle commented Jan 9, 2026

Hopglass did create non-clickable nodes for the gateways.
Basically a shadow information as we know from the existing nodes, that there must be a gateway existing as well :D

image

I would rather fix this by installing mesh-announce on the gateways to get proper information..?
https://github.com/ffnord/mesh-announce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants