SimpleGraph-HTML

From BITPlan Wiki
Jump to navigation Jump to search

SimpleGraphModule

HTML5 logo and wordmark.svg

SimpleGraph HTML module

The SimpleGraph HTML module makes HTML files accessible via HTML Cleaner parser see HTML Cleaner. The initial issue is 6

Sources

Example

Extract links from the agile manifesto

HtmlSystem hs = HtmlSystem.forUrl("http://agilemanifesto.org/");
...
GraphTraversal<Vertex, Vertex> links = hs.g().V().hasLabel("a")