Module logicng

Class GraphGraphicalGenerator<T>

  • Type Parameters:
    T - the type of the graph's node content

    public class GraphGraphicalGenerator<T>
    extends GraphicalGenerator<T>
    The graphical generator for representations of graphs Graph.
    Since:
    2.4.0
    Version:
    2.4.0
    • Method Detail

      • translate

        public GraphicalRepresentation translate​(Graph<T> graph)
        Translates a given graph into its graphical representation.
        Parameters:
        graph - the graph to translate
        Returns:
        the graphical representation