Skip to content

Commit 0946da5

Browse files
committed
Change method visibility to allow custom placement strategies outside of package (issue #45).
1 parent aae8786 commit 0946da5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/brunomnsilva/smartgraph/graphview/SmartGraphPanel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,15 +434,15 @@ public Graph<V, E> getModel() {
434434
* Returns a collection of the smart vertices that represent the underlying model vertices.
435435
* @return a collection of the smart vertices
436436
*/
437-
protected final Collection<SmartGraphVertex<V>> getSmartVertices() {
437+
public final Collection<SmartGraphVertex<V>> getSmartVertices() {
438438
return new ArrayList<>(this.vertexNodes.values());
439439
}
440440

441441
/**
442442
* Returns a collection of the smart edges that represent the underlying model edges.
443443
* @return a collection of the smart edges
444444
*/
445-
protected final Collection<SmartGraphEdge<E, V>> getSmartEdges() {
445+
public final Collection<SmartGraphEdge<E, V>> getSmartEdges() {
446446
return new ArrayList<>(this.edgeNodes.values());
447447
}
448448

0 commit comments

Comments
 (0)