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

Different colors for nodes #47

Open robertobucher opened 1 year ago

robertobucher commented 1 year ago

Hi

thanks for this excellent tool!

It is possible to have the color of the node names different from the one of the branches?

By complex SF diagrams it can help in better "reading" the graph.

hanspi42 commented 1 year ago

Thanks for the kind words!

I will think about how to do this; it is not going to be an easy enhancement. Presently all names are the same object in the code, so the label does not know whether it is a label of a node or a label of a branch.