private String formatPointer ( PatriciaTrie . PatriciaNode < V > from , PatriciaTrie . PatriciaNode < V > to , String label , String tailport ) { StringBuilder builder = new StringBuilder ( ) ; builder . append ( getNodeId ( from ) ) ; builder . append ( " -> " ) ; builder . append ( getNodeId ( to ) ) ; builder . append ( " [ " ) ; builder . append ( "label=\"" ) ; builder . append ( label ) ; builder . append ( " \"" ) ; builder . append ( "tailport=\"" ) ; builder . append ( tailport ) ; builder . append ( " \"" ) ; builder . append ( "fontcolor=\"#666666\" " ) ; builder . append ( " ]" ) ; builder . append ( "\n" ) ; return builder . toString ( ) ; }
Formats a link between two nodes