Code Monkey home page Code Monkey logo

qflow's Introduction

QFlow

Qt library for flow based programming

##Architecture: main elements of QFlow are Graph, Node and Port

###Graph: graph is the base for a flow all nodes must be withing graph and provides some central services to nodes. graph

###Node: Node is the main processing element and may have some ports. node

###Port: Port is used for connecting nodes to each other. Every port can be Input or Output. Every output port can be connected to one or multiple ports. All outputs to this port will be sent to all connected ports.

###Flow Object: Flow Object is used for flow entities that can be flown in network.

###Flow Object Storage: Flow Object Storage used for lifetime managemant of FlowObjects

The base packet is json based [QvariantMap in Qt] and contains this fields:

  1. uuid: unique id for each packet
  2. routing tag: an uuid generated on before sending to Output port.
  3. Stacked tag: a list of routing tags stacked when request packet goes from node to node. And will be used for reverse flow of respond packet.

##Routing of flow packets: a flow packet starts from a node sending to out port then routes to connected inport of another node and will be processed on new node. Receiver node can send it to another node or can reply to packet. If packet forwards to another node it will be processed on new node. In every node a flow packet can be replyed and it comes back to previous node.

##TODO List

  1. complete documents
  2. add graphical interface for monitoring

qflow's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kevinxusz iynaur

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.