# graphviz - create dot, save, render, view """Assemble DOT source code and render it with Graphviz. >>> dot = Digraph(comment='The Round Table') >>> dot.node('A', 'King Arthur') >>> dot.node('B', 'Sir Bedevere the Wise') >>> dot.node('L', 'Sir Lancelot the Brave') >>> dot.edges(['AB', 'AL']) >>> dot.edge('B', 'L', constraint='false') >>> print(dot) #doctest: +NORMALIZE_WHITESPACE // The Round Table digraph { A [label="King Arthur"] B [label="Sir Bedevere the Wise"] L [label="Sir Lancelot the Brave"] A -> B A -> L B -> L [constraint=false] } """ from .dot import Graph, Digraph from .files import Source from .backend import render, pipe, view, ENGINES, FORMATS, ExecutableNotFound __all__ = [ 'Graph', 'Digraph', 'Source', 'render', 'pipe', 'view', 'ENGINES', 'FORMATS', 'ExecutableNotFound', ] __title__ = 'graphviz' __version__ = '0.7.1' __author__ = 'Sebastian Bank ' __license__ = 'MIT, see LICENSE' __copyright__ = 'Copyright (c) 2013-2017 Sebastian Bank' #: Set of known layout commands used for rendering ('dot', 'neato', ...) ENGINES = ENGINES #: Set of known output formats for rendering ('pdf', 'png', ...) FORMATS = FORMATS ExecutableNotFound = ExecutableNotFound