Giter Site home page Giter Site logo

rexemin / nagui Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 7.38 MB

A Dash application for network optimization algorithms.

License: GNU General Public License v3.0

D 64.42% Python 34.81% Makefile 0.12% Shell 0.65%
network-algorithms optimization-algorithms dash

nagui's Introduction

Network Algorithms with a GUI (nagui)

A Dash application in Python 3 with a D backend to create graphs, digraphs, and networks, and run common optimization algorithms on them. The split between the front-end in Python and the back-end in D is a long story, but it grew out of an experiment I did during an undergraduate course.

Dependencies

All the data structures and algorithms are located in the directory app/lib. To compile them you need rdmd.

The Dash application needs the following dependencies:

  • dash
  • dash_bootstrap_components
  • dash_cytoscape
  • numpy
  • networkx

Running it

There are different ways to run this program, depending on whether you have (or want to have) D installed.

Using D and Python

If you have both languages, clone this repository and run the install.sh script. This script will create a Python virtual environment with all dependencies needed, and compile the complete D library.

After that, you can run run.sh to display the application locally.

Using only Python

If you don't have, or don't want to use, D, you can download a version of nagui with the D library precompiled here. After that, enter the main directory of the application and run run.sh. If you don't already have a Python virtual environment, it will automatically create it.

Alternatives

Of course, you can still manage everything manually. The D library has a makefile to compile it. The entry point for the Dash application is the file index.py.

nagui's People

Contributors

rexemin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.