spatial.setForceCull( pathOnly );
spatial.setCullMode( pathOnly ? Spatial.CULL_ALWAYS : Spatial.CULL_DYNAMIC);
    protected void simpleUpdate() {        super.simpleUpdate();        if ( KeyBindingManager                .getKeyBindingManager()                .isValidCommand( COMMAND_PATH_ONLY, false ) ) {            pathOnly = !pathOnly;            for ( int i = accessor.getEdgeCount() - 1; i >= 0; i-- ) {                Object edge = accessor.getEdge( i );                if ( !accessor.isEdgePath( edge ) ) {                    Spatial spatial = (Spatial) edges.get( edge );                    if ( spatial != null ) {                        spatial.setForceCull( pathOnly );                    }                }            }        }        // rearrange nodes//        for ( int i = accessor.getNodeCount() - 1; i >= 0; i-- ) {//            Object node = accessor.getNode( i );////            Spatial nodeVis = (Spatial) nodes.get( node );////            nodeVis.getLocalTranslation().set( layouter.getCoordinate( node, 0 ),//                    layouter.getCoordinate( node, 1 ),//                    layouter.getCoordinate( node, 2 ) );//        }    }