Package com.qfs.gui

Interface IDirectedGraphPrinter<K,​V,​E>

  • Type Parameters:
    K - The type of the keys of the graphs to render.
    V - The type of the vertices of the graphs to render.
    E - The type of the edges of the graph to render.

    public interface IDirectedGraphPrinter<K,​V,​E>
    Interface for components that can print a directed graph, be it a IDirectedGraph or a IDirectedMultiGraph.
    • Method Detail

      • print

        void print​(String title,
                   IDirectedGraph<K,​V,​E> graph)
        Prints the content of a graph in a window.
        Parameters:
        title - The title to use for the created window.
        graph - The graph to print.
      • print

        void print​(String title,
                   IDirectedMultiGraph<K,​V,​E> graph)
        Prints the content of a graph in a window.
        Parameters:
        title - The title to use for the created window.
        graph - The graph to print.