blockly > ConnectionDB > getNeighbours

ConnectionDB.getNeighbours() 메서드

특정 연결에 대한 모든 주변 연결을 찾습니다. 이 함수는 범핑에 사용되므로 유형 확인은 적용되지 않습니다.

Signature:

getNeighbours(connection: RenderedConnection, maxRadius: number): RenderedConnection[];

매개변수

매개변수 유형 설명
연결 RenderedConnection 이웃을 반환해야 하는 연결입니다.
maxRadius 숫자 다른 연결에 대한 최대 반경입니다.

반환:

RenderedConnection[]

연결 목록입니다.