graf.
GrafRenderer
Renders a GrAF XML representation that can be read back by an instance of L{GraphParser}.
Version: 1.0.
__init__
Create an instance of a GrafRenderer.
render_ann
Used to render the annotation elements of the Graph.
render_edge
Used to render the edge elements of the Graph.
render_feature
Used to render the features elements of the Graph.
render_fs
Used to render the feature structure elements of the Graph.
render_link
Used to render the link elements of the Graph.
render_node
Used to render the node elements of the Graph.
render_region
Used to render the region elements of the Graph.
write_header
Writes the header tag at the beginning of the XML file.
write_header_elements
Helper method for write_header.