There are two core functions that let you build graphs in echarts4r; e_graph and e_graph_gl. The latter is the webGL “version.”

Basic

Initialise your graph with e_charts then add nodes and edges with e_graph_nodes and e_graph_edges respectively.

Groups

The same but with groups.

Graph GL

Simply use e_graph_gl instead of e_graph.