nineml.abstraction_layer.writers.DotWriter

class nineml.abstraction_layer.writers.DotWriter

Dot Writer docstring

__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

Methods

build(dot_filename[, output_types]) Runs the commandline tool, dot on a filename to produce output figures.
write(component, filename[, flatten]) Writes a component out to the .dot format
classmethod build(dot_filename, output_types=None)

Runs the commandline tool, dot on a filename to produce output figures.

Params dot_filename:
 The filename of the .dot file.
Params output_types:
 The types of output that should be produced, by default ‘pdf’ will be produced. This should be a list, for example, [‘svg’,’pdf’,’png’]
classmethod write(component, filename, flatten=True)

Writes a component out to the .dot format