← Back to all sparks
G

g6R

INFRA · APIS
Velocity2.5

Graph Visualisation Engine Widget for R and 'shiny' Apps

An R binding whose releases are mostly the upstream JS graph engine arriving, plus port ergonomics.

r-graphicshtmlwidgetsgraph-visualizationshinyupstream-tracking
Current state
g6R wraps AntV's G6 graph engine as an htmlwidget, with Shiny proxy functions for data updates, layout control and mouse position read-back. The current release bundles G6 5.1.1 and ships the widget as a single self-contained bundle, having removed the split chunk. Recent work has concentrated on ports, the connection points nodes expose, with a new label-bottom placement, a larger default radius and a quieter hover state.
Where it's heading
Two threads run through the record. One is upstream tracking: the 0.6.5 engine bump alone restored the SVG renderer, fixed a combo-related canvas crash and pulled in new node and edge query APIs, which is a lot of user-visible change that this package did not author. The other is R-side ergonomics, where ports have been reworked in three consecutive releases and 0.5.0 added data validation strict enough that the notes warn existing code may break. Layout behaviour has moved toward explicit control, with recomputation now opt-in via an option and a dedicated proxy function.
Prediction
The port work looks unfinished given three releases in a row on it, so more placement and styling options are the likeliest next step, alongside another engine bump as G6 5.1.x moves. Nothing in these entries indicates a direction beyond keeping pace with upstream.

Recent moves

  1. 13d ago

    G6 engine bumped to 5.1.1; port placement, size and hover reworked

    The engine bump is the bulk of this release: deduplicating g-lite makes the SVG renderer work again instead of throwing on a blank canvas, and it fixes a runtime combo crash and improves edge-creation tracking under zoom. On the R side, ports gain a label-bottom placement that snaps to a bottom label rather than the node body, a default radius raised from 4 to 6, and a hover state that no longer grows into a rotating dashed glyph. Consistent with the arc, most of what users will notice came from upstream and the authored work is port ergonomics.

    View source ↗
  2. 3mo ago

    Enhanced and subtle ports, collapsible nodes, bslib tooltip fix

    Two port pull requests and collapsible nodes land together, starting the port thread that 0.6.5 continues. The tooltip fix matters more than it reads, since invisible tooltips inside a bslib or Bootstrap context is the failure mode most Shiny users would hit first. The rest is dependency housekeeping.

    View source ↗
  3. 8mo ago

    SVG renderer option, data validation, and explicit layout control

    The most structural release in the window: an SVG renderer becomes selectable, node, edge and combo data is validated on the way in, and layout recomputation stops being automatic unless an option asks for it. The notes flag the validation as potentially breaking existing code, which is unusual candour for a wrapper package and puts correctness ahead of compatibility. New proxy functions and a mouse-position input extend the Shiny surface that later releases build on.

    View source ↗
  4. 1y ago

    g6R 0.1.0

    The first CRAN release, recorded as a one-line note with no feature detail. It marks the package becoming installable through the standard R channel rather than from GitHub, which is what actually changes for users at this point.

    View source ↗