Module logicng

Interface EdgeStyleMapper<T>

  • Type Parameters:
    T - the type of the node content
    All Known Implementing Classes:
    BddEdgeStyleMapper

    public interface EdgeStyleMapper<T>
    A style mapper for generating graphical representations of formulas, BDDs and graphs. This mapper can be used to compute an edge style for the given edge between two node contents.
    Since:
    2.4.0
    Version:
    2.4.0
    • Method Detail

      • computeStyle

        GraphicalEdgeStyle computeStyle​(T source,
                                        T destination)
        Computes a style for the given edge between two node contents.
        Parameters:
        source - the content of the source node
        destination - the content of the destination node
        Returns:
        the style for the node with this content