Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion content/blog/gsoc-25-netjsongraph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,29 @@ maps) and ``showGraphLabelsAtZoom`` (for graphs).
**Map Mode:** The solution uses the Leaflet ``zoomend`` event to
dynamically update the ECharts series.

.. image:: {static}/images/blog/gsoc25/netjsongraph/zoom-labels.gif
**Before:**

.. image:: {static}/images/blog/gsoc25/netjsongraph/zoom-labels-map-before.gif
:alt: Zoom-dependent labels in netjsongraph.js map mode before
:align: center

**After:**

.. image:: {static}/images/blog/gsoc25/netjsongraph/zoom-labels-map.gif
:alt: Zoom-dependent labels in netjsongraph.js map mode
:align: center

**Graph Mode:** The solution uses the ECharts ``graphRoam`` event and a
custom label ``formatter`` function.

**Before:**

.. image:: {static}/images/blog/gsoc25/netjsongraph/zoom-labels-graph-before.gif
:alt: Zoom-dependent labels in netjsongraph.js graph mode before
:align: center

**After:**

.. image:: {static}/images/blog/gsoc25/netjsongraph/zoom-lables-graph.gif
:alt: Zoom-dependent labels in netjsongraph.js graph mode
:align: center
Expand Down Expand Up @@ -184,6 +200,14 @@ exceeded the value higher than the tile provider's max zoom level.
**The Mechanism & Logic:** I corrected the map's behavior to respect tile
provider limits and added CSS for visual feedback on the zoom controls.

**Before:**

.. image:: {static}/images/blog/gsoc25/netjsongraph/zoom-levels-before.gif
:alt: Zoom levels in netjsongraph.js before
:align: center

**After:**

.. image:: {static}/images/blog/gsoc25/netjsongraph/zoom-levels.gif
:alt: Zoom levels in netjsongraph.js
:align: center
Expand Down
Binary file modified content/images/blog/gsoc25/netjsongraph/Clustering-Disabled.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/images/blog/gsoc25/netjsongraph/Clustering-Enabled.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/images/blog/gsoc25/netjsongraph/duplicate-node-ids.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.