graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java
public static Label raw(String value) {
        final boolean isTagged = value.startsWith("<") && value.endsWith(">");
        if (!isTagged) {
            return of(value);
        }
        final String untagged = value.substring(1, value.length() - 1);
        final boolean hasTags = value.contains("/>") || value.contains("</");
        return hasTags ? html(untagged) : markdown(untagged);
    }
public static Label raw(String value) {
        final boolean isTagged = value.startsWith("<") && value.endsWith(">");
        if (!isTagged) {
            return of(value);
        }
        final String untagged = value.substring(1, value.length() - 1);
        final boolean hasTags = value.contains("/>") || value.contains("</");
        return hasTags ? html(untagged) : markdown(untagged);
    }
public static Label raw ( String value ) { final boolean isTagged = value . startsWith ( "<" ) && value . endsWith ( ">" ) ; if ( ! isTagged ) { return of ( value ) ; } final String untagged = value . substring ( 1 , value . length ( ) - 1 ) ; final boolean hasTags = value . contains ( "/>" ) || value . contains ( "</" ) ; return hasTags ? html ( untagged ) : markdown ( untagged ) ; }
Create either a simple, HTML or markdown label.
If the value is not surrounded by < and >, a simple Label is created.
Otherwise if value contains some HTML tags, a HTML label is created.
Otherwise a markdown label is created.

@param value the raw label
@return the Label
Create either a simple HTML or markdown label . If the value is not surrounded by < and > a simple Label is created . Otherwise if value contains some HTML tags a HTML label is created . Otherwise a markdown label is created .