io

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true ]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0 ]; edge [color=lightslategrey, penwidth=1 ]; subgraph cluster_builtins { graph [label=builtins]; node [color=1]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", color=1, label=object, target=_top]; } subgraph "cluster_supriya.io" { graph [label="supriya.io"]; node [color=2]; "supriya.io.Grapher" [URL="../api/supriya/io.html#supriya.io.Grapher", color=black, fontcolor=white, label=Grapher, target=_top]; "supriya.io.Player" [URL="../api/supriya/io.html#supriya.io.Player", color=black, fontcolor=white, label=Player, target=_top]; } "builtins.object" -> "supriya.io.Grapher" [minlen=1]; "builtins.object" -> "supriya.io.Player" [minlen=2]; }


Classes

Grapher
Player
class supriya.io.Grapher(graphable, format_='pdf', layout='dot', verbose=False)[source]

Attributes Summary

__call__ Call self as a function.
get_format
get_graphviz_string
get_layout
get_render_command
get_render_prefix
open_output_path
persist_graphviz_string
run_command

Special methods

__call__()[source]

Call self as a function.


Methods

get_format()[source]
get_graphviz_string()[source]
get_layout()[source]
get_render_command(format_, input_path, layout, output_path)[source]
get_render_prefix(graphviz_string)[source]
open_output_path(output_path)[source]
persist_graphviz_string(graphviz_string, input_path)[source]
run_command(command, verbose=False)[source]
class supriya.io.Player(renderable, **kwargs)[source]

Attributes Summary

__call__ Call self as a function.
open_output_path
render

Special methods

__call__()[source]

Call self as a function.


Methods

open_output_path(output_path)[source]
render()[source]

Functions

graph
play
render
supriya.io.graph(graphable, format_='pdf', layout='dot', verbose=False)[source]
supriya.io.play(renderable, **kwargs)[source]
supriya.io.render(renderable, output_file_path=None, render_directory_path=None, **kwargs)[source]