hanspi42 / signalflowgrapher

This Python tool allows you to draw signal-flow graphs, calculate transfer functions (SymPy code is generated for further use in Jupyter notebooks), do graph manipulations (e.g., node elimination and graph transposition), and save a graph as TikZ for use in LaTeX documentation.
Artistic License 2.0
30 stars 6 forks source link

Fixed bug #7 #18

Closed naaeef closed 3 years ago

naaeef commented 3 years ago

Closes #7 Controller checks if start and end node of both branches is the same node. Calls create_self_loop if they are equal.

naaeef commented 3 years ago

@hanspi42 I added an additional unit test case in the file test_operation_controller.py which reproduces the bug. This is a common procedure to ensure that the same bug won't occur in the future.