graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java
public static Label lines(Justification just, String... lines) {
        final String sep = just == LEFT ? "\\l" : just == RIGHT ? "\\r" : "\n";
        final String value = Stream.of(lines).map(line -> line + sep).collect(joining());
        return new Label(value, false, false, false, false, null, null);
    }
public static Label lines(Justification just, String... lines) {
        final String sep = just == LEFT ? "\\l" : just == RIGHT ? "\\r" : "\n";
        final String value = Stream.of(lines).map(line -> line + sep).collect(joining());
        return new Label(value, false, false, false, false, null, null);
    }
Create a simple multiline label.

@param just  the text justification
@param lines the text lines
@return the Label