All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.agentlab.ds.graph.GraphmlUtils Maven / Gradle / Ivy

package de.agentlab.ds.graph;

public class GraphmlUtils {

    public static String createNode(String name, String nodeStyle, String color, Shape shape,
                                    Geometry geometry, String[] labelAttributes) {
        String result = "";
        result += "\n";
        result += "\n";
        if (color != null) {
            result += "\n";
        }
        result += "\n";
        result += "\n";
        return result;
    }

    public static String createNode(String label, String type, String color, Shape shape, Geometry geometry) {
        return createNode(label, type, color, shape, geometry, null);
    }

    public static String createArrowStyle(String color, boolean directed) {

        String result = "";
        result += "\n";
        result += "\n";
        result += "";

        if (directed) {
            result += "";
        } else {
            result += "";
        }
        result += "\n";
        result += "\n";
        return result;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy