private Collection<Double> getDepths() { Set<Double> depths = new HashSet<Double>(); Map<String,PolarPoint> polarLocations = radialLayout.getPolarLocations(); for(String v : graph.getVertices()) { PolarPoint pp = polarLocations.get(v); depths.add(pp.getRadius()); } return depths; }
private Collection<Double> getDepths() { Set<Double> depths = new HashSet<Double>(); Map<String,PolarPoint> polarLocations = radialLayout.getPolarLocations(); for(String v : graph.getVertices()) { PolarPoint pp = polarLocations.get(v); depths.add(pp.getRadius()); } return depths; }
private Collection<Double> getDepths() { Set<Double> depths = new HashSet<Double>(); Map<String,PolarPoint> polarLocations = radialLayout.getPolarLocations(); for(String v : graph.getVertices()) { PolarPoint pp = polarLocations.get(v); depths.add(pp.getRadius()); } return depths; }
private Collection<Double> getDepths() { Set<Double> depths = new HashSet<Double>(); Map<String,PolarPoint> polarLocations = radialLayout.getPolarLocations(); for(String v : graph.getVertices()) { PolarPoint pp = polarLocations.get(v); depths.add(pp.getRadius()); } return depths; }