Comments (15)
@jerivas https://www.npmjs.com/package/flowy-engine has been published. v2 is in the works as a new NPM release in the future.
from flowy.
@vicmosin it's outdated and I decided not to pursue the work I started back then because there wasn't a desire by the maintainer to bring my updates into the project. I'm effectively waiting to see how much more the project gets updated, and if there's a desire in the future to use more tooling and accept contributions such as ES6 and so on.
However, it is a usable version from that point in time. The README has directions to build and run the demo. And there's the demo build in the repository as well.
For what it's worth, there's a React implementation as well that works in its own branch. And I was ambitious to refactor the whole thing.
from flowy.
#37 is ready to merge to get this in place
from flowy.
Yes, it is linked at https://www.npmjs.com/package/flowy-engine
from flowy.
Would be also good to have src and dist folders and some CI setup.
Could you need some asistance with this?
from flowy.
@joelvh
Hello, I did this:
npm i flowy-engine
but no luck
ERROR in libs/author/src/lib/prototype/editor.component.ts:8:24 - error TS2307: Cannot find module 'flowy-engine'.
from flowy.
@AsimNet please check the error, your Node version and that you import the module, not the main entry. See also https://unpkg.com/browse/[email protected]/package.json.
from flowy.
could you please give me an example?
@DanielRuf
from flowy.
@AsimNet try import * as flowy from 'flowy-engine/flowy-engine.mjs
.
from flowy.
same thing
ERROR in libs/author/src/lib/prototype/editor.component.ts:8:24 - error TS2307: Cannot find module 'flowy-engine/flowy-engine.mjs'.
from flowy.
https://github.com/joelvh/flowy-engine/blob/master/src/index.js
from flowy.
Did you install it? Please check the content of your node_modules/flowy-engine
. The source repo has nothing to do with the code on npmjs / unpkg (where you can see what you should have in your node_modules).
from flowy.
same thing
You didn't specify the exact error before, you provided only a screenshot of a text with a red line under it which is not that helpful.
Please check your node_modules folder to see which files can be imported / required.
from flowy.
It works for me:
➜ flowy-test npm i flowy-engine
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
+ [email protected]
added 1 package from 3 contributors and audited 1 package in 2.019s
found 0 vulnerabilities
➜ flowy-test code .
➜ flowy-test cat index.mjs
import * as flowy from 'flowy-engine/flowy-engine.mjs';
console.log(flowy);%
➜ flowy-test node --version
v10.16.3
➜ flowy-test nodenv versions
system
6.17.1
8.16.0
8.17.0
9.11.2
10.16.0
* 10.16.3 (set by /Users/danielruf/.nodenv/version)
12.13.0
13.5.0
➜ flowy-test nodenv local 13.5.0
➜ flowy-test node index.mjs
(node:7408) ExperimentalWarning: The ESM module loader is experimental.
[Module] { default: [Function: e] }
from flowy.
Is the https://github.com/joelvh/flowy-engine "official" fork of npm feature?
@joelvh do you have any examples of the usage?
from flowy.
Related Issues (20)
- Output is Not define
- Block name change
- More advanced demo? HOT 7
- Prevent junctions
- Is it possible to implement for nodes to have more than 1 parent? HOT 4
- How to use it in Vuejs ? HOT 3
- Output not getting imported HOT 2
- Can you give me a solution to use it in React js ? HOT 3
- Conditional Snapping Issue HOT 1
- Please invite me in your project. HOT 1
- Drag block item when scrolled
- Hey
- Unable to add text box in the flowchart
- Demo Site link working HOT 1
- Live demo link broken HOT 2
- [Feature request] Dark theme
- Create zoom canva preview
- Support? HOT 2
- How to split branches manually
- How to support cyclic relations between blocks in flowy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowy.