planar-face-discovery
Given a planar, undirected, graph enumerate all of the faces of the graph. Can also be described as finding all of the polygons within the graph, or the minimum cycle basis
graphology
A robust and multipurpose Graph object for JavaScript.