dominikbraun / graph

A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
https://graph.dominikbraun.io
Apache License 2.0
1.8k stars 94 forks source link

Method for adding vertices from another graph #104

Closed dominikbraun closed 1 year ago

dominikbraun commented 1 year ago

The Graph interface should provide a method for adding vertices from another graph, for example AddVerticesFrom[K comparable, T any](source Graph[K, T]) error. This method should clone all vertices from source, including their properties, and add them to the method receiver.

dominikbraun commented 1 year ago

Solved by #108.