Features for testing the presence of graphviz
¶
- class sage.features.graphviz.Graphviz(*args, **kwds)[source]¶
Bases:
JoinFeature
A
Feature
describing the presence of thedot
,neato
, andtwopi
executables from the graphviz package.EXAMPLES:
sage: from sage.features.graphviz import Graphviz sage: Graphviz().is_present() # optional - graphviz FeatureTestResult('graphviz', True)
>>> from sage.all import * >>> from sage.features.graphviz import Graphviz >>> Graphviz().is_present() # optional - graphviz FeatureTestResult('graphviz', True)
from sage.features.graphviz import Graphviz Graphviz().is_present() # optional - graphviz
- class sage.features.graphviz.dot(*args, **kwds)[source]¶
Bases:
Executable
A
Feature
describing the presence ofdot
.
- class sage.features.graphviz.neato(*args, **kwds)[source]¶
Bases:
Executable
A
Feature
describing the presence ofneato
.
- class sage.features.graphviz.twopi(*args, **kwds)[source]¶
Bases:
Executable
A
Feature
describing the presence oftwopi
.