Edge Group

class EdgeGroup(edges)[source]

Bases: object

Represents a group of edges.

All edges in a group, and functional groups held by them, should be used together in a single Reaction.

Methods

get_edge_ids()

Yield the ids of edges in the group.

__init__(edges)[source]

Initialize an EdgeGroup instance.

Parameters

edges (iterable of Edge) – The edges in the group.

get_edge_ids()[source]

Yield the ids of edges in the group.

Yields

int – The id of an edge.