Generic Function Add-Vertex (3 methods)

( add-vertex < graph > < value-or-vertex > &key < if-duplicate-do > )

Part of:

package cl-graph
Adds a vertex to a graph. If called with a vertex, then this vertex is added. If called with a value, then a new vertex is created to hold the value. If-duplicate-do can be one of :ignore, :force, :replace, :replace-value or a function. The default is :ignore.

Method Summary

add-vertex :before < basic-graph > < basic-vertex
add-vertex < basic-graph > < basic-vertex
add-vertex < basic-graph > < T >