MindFusion.Diagramming for JavaScript Programmer's Guide

Vertex.adjacentTo Method

See Also
 





Checks if there is an edge connecting this vertex with the specified vertex.

Namespace: MindFusion.Graphs
File: Vertex.js

 Syntax

JavaScript  Copy Code

function adjacentTo (vertex)

 Parameters

vertex

The vertex to check.

 Return Value

true if the vertices are connected; otherwise, false.

 See Also