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

org.anarres.graphviz.builder.GraphVizPort Maven / Gradle / Ivy

There is a newer version: 1.0.12
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.anarres.graphviz.builder;

import javax.annotation.Nonnull;

/**
 *
 * @author shevek
 */
public class GraphVizPort extends GraphVizObject {

    private final String portId;

    /* pp */ GraphVizPort(@Nonnull GraphVizNode node, @Nonnull Key key, int portId) {
        super(node.getGraph(), key, node.getId() + ":p" + portId);
        this.portId = "p" + portId;
    }

    @Nonnull
    public String getPortId() {
        return portId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy