GraphMLWriter

object GraphMLWriter: Any

Responsible for writing Graph objects to an OutputStreamWriter in GraphML format.

Methods

write

fun write(g: Graph, writer: OutputStreamWriter)

Given a Graph object, serializes it to GraphML format to the given OutputStreamWriter. This format is supported by TinkerGraph and Cytoscape.

Parameters

Name Description
g: Graph

The Graph to serialize.

writer: OutputStreamWriter

The stream to write the serialized graph to.

ReturnValue

Name Description
Unit