public class GraphEditor extends java.lang.Object implements GraphCreator
| Constructor and Description |
|---|
GraphEditor(java.lang.String initialText) |
| 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.
|
public void draw(javax.swing.JPanel parent)
GraphCreatordraw in interface GraphCreatorparent - The parent panel within which to initialize this GUI.public java.util.Optional<Graph> getGraph()
GraphCreatorgetGraph in interface GraphCreator