Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.92 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.92 KB

Signal Flow Graph Solver

An interactive signal flow graph solver that allows the user to create his signal flow graph using drag and drop mode and compute the overall gain.

Getting Started

User Guide

The program allows the user to create the graph very easily with the buttons that we provide in a toolbar
alt toolbar

  • The user can add a node or remove it
  • Then add the branches between nodes
  • The user can clear all the graph and reconstruct it
  • The user is able to rename the nodes names and branches gains
  • Then user should select the source and the end nodes
  • Then he can solve the graph using mason’s rule

The program allows the user to save his graph as JSON and load it whenever he wants
alt saving

  • To save the graph he just should click the save button
  • To load it he should choose the json file

The user has the ability to take a snapshot of the graph as jpg image
alt snapshot

  • To take the snapshot the user can fit the graph first to the center of the screen and then take the snapshot

Sample Run

alt graph alt output

Built With

  • Javascript - The programming language used
  • graphlib.js - A javascript library that provides data structures for undirected and directed multi-graphs along with algorithms that can be used with them. It is used for the solving logic.
  • cytoscape.js - A javascript Graph theory / network library for visualisation and analysis. It is used for the GUI.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details