Create a VR force directed graph.

aForce

Format

An object of class R6ClassGenerator of length 24.

Methods

  • nodes Add nodes.

  • edges Add edges.

  • build Build graph

  • get Get graph

  • browse Browse graph

  • embed Embed graph

See also

Examples

if(interactive()){ graph <- aForce$ new()$ nodes(some_nodes, id, val, color)$ links(some_links, source, target)$ build()$ get() aframer::browse_aframe(graph) }