flowbased / fbp-graph Goto Github PK
View Code? Open in Web Editor NEWFBP graph library for JavaScript
FBP graph library for JavaScript
Hi. I need to add metadata while adding the node that. For example
const graph = new noflo.Graph('My graph');
graph.addNode("Square", "square")
while doing this I need to add some data also.
like this -> graph.addNode("Square", "square", {metadata: "metadata"}) as referred here https://github.com/flowbased/fbp-graph/blob/master/src/Graph.coffee#L149
If I do like this how to get the metadata in component. Input not not providing these data.
Please help me on this. Thanks in advance
Now calling addEdge
multiple times with same data causes edge to be duplicated.
Branch | Build failing 🚨 |
---|---|
Dependency | grunt-noflo-browser |
Current Version | 1.3.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
grunt-noflo-browser is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 8 commits.
49cbe83
Bump
f6ac38e
Merge pull request #30 from noflo/noflo_component_loader
9935b00
Try to match also Windows paths with regexp
c188098
Bump noflo-component-loader dep
84cec54
Update to legacy-free component versions
821de79
Test on modern Node.js
ea16584
Use noflo-component-loader to build the loader
f00089b
Remove obsolete grunt-noflo-manifest
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Currently our I/O methods still rely on the old callback style. We should support optionally Promises.
Refs noflo/noflo#693
2.5.0
to 2.5.1
.This version is covered by your current version range and after updating it in your project the build failed.
coffeescript is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 5 commits.
26a7ba1
2.5.1 (#5297)
9cef39d
Handle implicit object as end of outer implicit object property value (#5296)
92ad04b
Allow soaks and prototype shorthands in object splats (#5293)
6fe980e
Improve performance of location data compensation (#5294)
bb8df1e
Fix typos (#5287)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
I hope we can separate the node position metadata from functionality, so positions saved in a JSON, and logic store in a .fbp file.
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
package.json
files, so that was left aloneIf you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
ERROR in ../~/fbp-graph/lib/Journal.js
Module not found: Error: Can't resolve 'fs' in '/Users/kristianmandrup/repos/tecla5/graph-editor/node_modules/fbp-graph/lib'
@ ../~/fbp-graph/lib/Journal.js 607:13-26
@ ../~/fbp-graph/index.js
@ ./index.js
ERROR in ../~/fbp-graph/lib/Graph.js
Module not found: Error: Can't resolve 'fs' in '/Users/kristianmandrup/repos/tecla5/graph-editor/node_modules/fbp-graph/lib'
@ ../~/fbp-graph/lib/Graph.js 981:13-26 1161:11-24
@ ../~/fbp-graph/index.js
@ ./index.js
☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
1.0.4
to 1.1.0
.This version is covered by your current version range and after updating it in your project the build failed.
grunt is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 8 commits.
d5cdac0
Merge pull request #1706 from gruntjs/tag-neew
4674c59
v1.1.0
6124409
Merge pull request #1705 from gruntjs/mkdirp-update
0a66968
Fix up Buffer usage
4bfa98e
Support versions of node >= 8
f1898eb
Update to mkdirp ~1.0.3
75da17b
HTTPS link to gruntjs.com (#1683)
6795d31
Update js-yaml dependecy to ~3.13.1 (#1680)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
I'm very curious if this project still active and supported? Is it any plans to continue development in the future?
We are planning to use FBP engine in our low-code platform.
☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
3.0.9
to 3.0.10
.This version is covered by your current version range and after updating it in your project the build failed.
coveralls is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 6 commits.
2ea7be3
bump version
5e976c5
Only coverage report on test success, fixes #230
3d83b4f
Set service_name and/or repo_token from .coveralls.yml regardless of if $COVERALLS_REPO_TOKEN is set (#272)
710c504
Add Codefresh support
8c4ba99
CI: switch to actions/checkout@v2
eb1a3c9
278 Upgrades minimist dependency to 1.2.5
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Looks like we need a more-specific version of Graph.removeEdge() for edges with index.
(moved from noflo/noflo#254)
Some ports can be of type 'object' or 'array' which means it should be possible to send an empty array to them.
When doing so in the noflo-ui you get backtraces of storage problem :
DOMException {message: "An object could not be cloned.", name: "DataCloneError", code: 25, stack: "Error: An object could not be cloned.↵ at IDBJo…0/bower_components/platform/platform.js:29:27537)", INDEX_SIZE_ERR: 1…}
"Error: An object could not be cloned.
at IDBJournalStore.putTransaction (http://localhost:1080/browser/noflo-ui.js:20154:17)
at Journal.endTransaction (http://localhost:1080/browser/noflo-ui.js:6793:16)
at Journal.endTransaction (http://localhost:1080/browser/noflo-ui.js:6401:59)
at Graph.<anonymous> (http://localhost:1080/browser/noflo-ui.js:6766:22)
at Graph.Emitter.emit (http://localhost:1080/browser/noflo-ui.js:336:20)
at Graph.endTransaction (http://localhost:1080/browser/noflo-ui.js:3146:17)
at Polymer.updateValue (http://localhost:1080/elements/noflo-node-inspector.html/noflo-node-inspector.js:188:22)
at null.<anonymous> (http://localhost:1080/bower_components/platform/platform.js:34:16969)
at t (http://localhost:1080/bower_components/platform/platform.js:29:28182)
at r (http://localhost:1080/bower_components/platform/platform.js:29:27537)"
Migrated from noflo/noflo#152
Should move node related things to a separate file.
☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
8.0.6
to 8.1.0
.This version is covered by your current version range and after updating it in your project the build failed.
babel-loader is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 18 commits.
3ff9926
8.1.0
0817bb6
Bump deps for audit (#834)
ecb2b02
Bump acorn from 6.3.0 to 6.4.1 (#828)
13a8238
feat: expose webpack target via babel caller (#826)
b568420
Merge pull request #814 from nicolo-ribaudo/tla
1c35731
Update src/injectCaller.js
5f55638
Add schema validation (#822)
8b47312
Merge pull request #821 from PatNeedham/docs/contributing-typo
a967311
docs(contributing): fix typo
758d4b5
docs(readme): fix typo (#818)
8a0a25a
Add supportsTopLevelAwait to caller
15df92f
chore: Do not run node 6 in appveyor
26d1676
chore: Upgrade more dev dependencies
26aa687
chore: Update some dev dependencies
a961168
Bump eslint-utils from 1.3.1 to 1.4.2 (#806)
There are 18 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
devDependency
@babel/core was updated from 7.7.7
to 7.8.0
.devDependency
@babel/preset-env was updated from 7.7.7
to 7.8.0
.This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.