
de.uni.freiburg.iig.telematik.jagal.visualization.flexible.WeightedGraphComponent Maven / Gradle / Ivy
package de.uni.freiburg.iig.telematik.jagal.visualization.flexible;
import de.invation.code.toval.graphic.component.DisplayFrame;
import de.uni.freiburg.iig.telematik.jagal.graph.Vertex;
import de.uni.freiburg.iig.telematik.jagal.graph.weighted.WeightedEdge;
import de.uni.freiburg.iig.telematik.jagal.graph.weighted.WeightedGraph;
public class WeightedGraphComponent, T extends Object> extends AbstractWeightedGraphComponent, T> {
private static final long serialVersionUID = 6935652350923822176L;
public WeightedGraphComponent(G graph) throws Exception {
super(graph);
}
@Override
protected String getEdgeLabel(WeightedEdge> e) {
return String.valueOf(e.getWeight());
}
@SuppressWarnings({ "rawtypes", "unchecked" })
public static void main(String[] args) throws Exception {
WeightedGraph
© 2015 - 2025 Weber Informatics LLC | Privacy Policy