public interface GraphCreator
Modifier and Type | Method and Description |
---|---|
void |
draw(javax.swing.JPanel parent)
Draw the GUI on the given panel.
|
java.util.Optional<Graph> |
getGraph()
Get the corresponding graph, if possible.
|
void draw(javax.swing.JPanel parent)
parent
- The parent panel within which to initialize this GUI.java.util.Optional<Graph> getGraph()