DynGraph.add_star(nodes, t=None)

Add a star at time t.

The first node in nodes is the middle of the star. It is connected to all other nodes.

Parameters: nodes (iterable container) – A container of nodes. t (snapshot id (default=None)) –

Examples

>>> import dynetx as dn
>>> G = dn.DynGraph()