linkVertexes method

LayoutEdge linkVertexes(
  1. LayoutVertex fromVertex,
  2. LayoutVertex toVertex, [
  3. Link? link
])

Links two vertexes already in the network and returns the created LayoutEdge. @param {LayoutVertex} fromVertex @param {LayoutVertex} toVertex @param {Link} link @return {LayoutEdge} an edge in this network, or null if both vertexes don't exist.

Implementation

_i3.LayoutEdge linkVertexes(
  _i3.LayoutVertex fromVertex,
  _i3.LayoutVertex toVertex, [
  _i3.Link? link,
]) =>
    _i4.callMethod(
      this,
      'linkVertexes',
      [
        fromVertex,
        toVertex,
        link ?? _i5.undefined,
      ],
    );