Features for testing the presence of graphviz¶
- class sage.features.graphviz.Graphviz¶
Bases:
sage.features.join_feature.JoinFeatureA
Featuredescribing the presence of thedot,neato, andtwopiexecutables from thegraphvizpackage.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¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofdotEXAMPLES:
sage: from sage.features.graphviz import dot sage: dot().is_present() # optional - graphviz FeatureTestResult('dot', True)
- class sage.features.graphviz.neato¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofneatoEXAMPLES:
sage: from sage.features.graphviz import neato sage: neato().is_present() # optional - graphviz FeatureTestResult('neato', True)
- class sage.features.graphviz.twopi¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence oftwopiEXAMPLES:
sage: from sage.features.graphviz import twopi sage: twopi().is_present() # optional - graphviz FeatureTestResult('twopi', True)