Getting Started
Graph Tools
Algorithms
Workflows
Assemblers
Other Utilities
Generate summary pages of BEL graphs in HTML.
pybel_tools.assembler.html.
to_html
Render the graph as an HTML string.
Common usage may involve writing to a file like:
>>> from pybel.examples import sialic_acid_graph >>> with open('html_output.html', 'w') as file: ... print(to_html(sialic_acid_graph), file=file)
str