Skip to content

Commit 449d6be

Browse files
author
brunomnsilva
committed
Fixed removal of individual edges from the underlying graph not
being represented in the panel. Only edges connected to removed vertices were being removed. -- Release files
1 parent ae08719 commit 449d6be

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

releases/JavaFXSmartGraph-0.9.jar

211 Bytes
Binary file not shown.

releases/JavaFXSmartGraph-0.9.zip

723 Bytes
Binary file not shown.

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,13 @@ public void setAutomaticLayout(boolean value) {
271271

272272
/**
273273
* Forces a refresh of the visualization based on current state of the
274-
* underlying graph.
274+
* underlying graph.
275+
*
276+
* This method invokes the refresh in the graphical
277+
* thread through Platform.runLater(), so its not guaranteed that the visualization is in sync
278+
* immediately after this method finishes. That is, this method
279+
* immediately returns to the caller without waiting for the update to the
280+
* visualization.
275281
* <p>
276282
* New vertices will be added close to adjacent ones or randomly for
277283
* isolated vertices.

0 commit comments

Comments
 (0)