X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src2%2Ffr%2Forsay%2Flri%2Fvarna%2Fmodels%2Ftreealign%2FGraphvizDrawableNodeValue.java;fp=src2%2Ffr%2Forsay%2Flri%2Fvarna%2Fmodels%2Ftreealign%2FGraphvizDrawableNodeValue.java;h=46c50ec3c146ff75d1a84d0da24971a44b3adc5a;hp=0000000000000000000000000000000000000000;hb=665d2c2f4c1310e6985b93b7c2c8a8eec2fa9086;hpb=0e684f72690bd6532272a39ab6c188a27559fd09 diff --git a/src2/fr/orsay/lri/varna/models/treealign/GraphvizDrawableNodeValue.java b/src2/fr/orsay/lri/varna/models/treealign/GraphvizDrawableNodeValue.java new file mode 100644 index 0000000..46c50ec --- /dev/null +++ b/src2/fr/orsay/lri/varna/models/treealign/GraphvizDrawableNodeValue.java @@ -0,0 +1,14 @@ +package fr.orsay.lri.varna.models.treealign; + +/** + * A tree can be displayed using graphviz (using class TreeGraphviz) + * if the node values in the tree implement this interface. + * + * @author Raphael Champeimont + */ +public interface GraphvizDrawableNodeValue { + /** + * Returns a string that will be displayed on the node by graphviz. + */ + public String toGraphvizNodeName(); +}