Features for testing the presence of graphviz#

class sage.features.graphviz.Graphviz(*args, **kwds)#

Bases: JoinFeature

A Feature describing the presence of the dot, neato, and twopi executables from the graphviz package.

EXAMPLES:

sage: from sage.features.graphviz import Graphviz
sage: Graphviz().is_present()  # optional - graphviz
FeatureTestResult('graphviz', True)
sage.features.graphviz.all_features()#
class sage.features.graphviz.dot(*args, **kwds)#

Bases: Executable

A Feature describing the presence of dot

EXAMPLES:

sage: from sage.features.graphviz import dot
sage: dot().is_present()  # optional - graphviz
FeatureTestResult('dot', True)
class sage.features.graphviz.neato(*args, **kwds)#

Bases: Executable

A Feature describing the presence of neato

EXAMPLES:

sage: from sage.features.graphviz import neato
sage: neato().is_present()  # optional - graphviz
FeatureTestResult('neato', True)
class sage.features.graphviz.twopi(*args, **kwds)#

Bases: Executable

A Feature describing the presence of twopi

EXAMPLES:

sage: from sage.features.graphviz import twopi
sage: twopi().is_present()  # optional - graphviz
FeatureTestResult('twopi', True)