{"id":16219347,"url":"https://github.com/ivanseidel/noflow","last_synced_at":"2025-04-07T23:40:31.739Z","repository":{"id":138586224,"uuid":"52469259","full_name":"ivanseidel/NoFlow","owner":"ivanseidel","description":"A (really-simple) flow based programming framework","archived":false,"fork":false,"pushed_at":"2016-02-24T19:38:55.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T00:54:18.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivanseidel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-24T19:38:50.000Z","updated_at":"2016-03-11T04:59:39.000Z","dependencies_parsed_at":"2023-04-15T12:01:20.612Z","dependency_job_id":null,"html_url":"https://github.com/ivanseidel/NoFlow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanseidel%2FNoFlow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanseidel%2FNoFlow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanseidel%2FNoFlow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanseidel%2FNoFlow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanseidel","download_url":"https://codeload.github.com/ivanseidel/NoFlow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247749976,"owners_count":20989712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T11:54:23.286Z","updated_at":"2025-04-07T23:40:31.724Z","avatar_url":"https://github.com/ivanseidel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Box Flow\n#### *A simple warpper for Flow Based Programming in Node.js*\n\n*Note: This Library is under development. Although documentation is explained, some methods are not implemented yet.*\n\n### Create a component:\n```\nvar Component = {};\n\nBoxComponent.prototype.inputs = [\n\t[BoxPort],\n\t[BoxPort]\n];\n\nBoxComponent.prototype.type = 'compoenent-name';\n```\n\n### Buld graph\n```\nvar graph = new GraphComponent();\n\ngraph.addNode('node-id', 'component-name');\n\ngraph.getNode('node-id').getPort('out').connect(graph.getNode('other-node').getPort('in'));\n```\n\n### Serialized Graph\n```\n{\n\tnodes: [\n\t\t{\n\t\t\tactive: true,\n\t\t\tid: 'unique-identifier',\n\t\t\tcomponent: 'component-name',\n\t\t\tsettings: {...},\n\t\t},\n\n\t\t{\n\t\t\tactive: true,\n\t\t\tid: 'other-identifier',\n\t\t\tcomponent: 'component-name',\n\t\t\tsettings: {...},\n\t\t},\n\n\t\t{\n\t\t\tactive: false,\n\t\t\tid: 'old-component',\n\t\t\tcomponent: 'othertype',\n\t\t\tsettings: {...},\n\t\t},\n\n\t],\n\n\tports: [\n\t\t{\n\t\t\tfrom: 'unique-identifier.out',\n\t\t\tto: 'other-identifier.in',\n\t\t}\n\t],\n}\n\n```\n\n### Load from file\n```\nvar graph = Graph.fromJSON(json)\n```\n\n### Save to Json\n```\nvar json = graph.toJSON();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanseidel%2Fnoflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanseidel%2Fnoflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanseidel%2Fnoflow/lists"}