JavaFXSmartGraph icon indicating copy to clipboard operation
JavaFXSmartGraph copied to clipboard

make sure the vertext labels are always in the foreground

Open elbosso opened this issue 6 months ago • 0 comments

currently the vertex nodes (ovals, ...) and their labels are added to the FX hierarchy for each vertex - therefore the hierarchy holds "circle, text, circle, text, -..." But FX paints shapes in this order, therefore circles or other shapes added later obscure labels added earlier. Therefore i propose to add all the shapes for the vertices first and in a second loop add all the labels for the vertices - changing the order in the hierarchy to "circle, circle, circle,...,text, text, text,..."

elbosso avatar Aug 19 '24 15:08 elbosso