Comments (5)
If someone is still interested I have created a React wrapper for flowchart.js: jln-dk/react-flowchart.js
Thanks to Adriano Raiano for creating this library! :)
from flowchart.js.
dmk23, see https://github.com/alwinn1977/react-simple-flowchart
from flowchart.js.
Here goes the source:
renderSeqDiagram: function(){ if (this.state.content.flowDescription) { try { if(this.dia) { this.dia.clean(); } var options = {'x': 0, 'y': 0}; this.dia = flowchart.parse(this.state.content.flowDescription); this.dia.drawSVG(this.refs.canvas.getDOMNode(),options); } catch (error) { console.log(error); this.refs.canvas.getDOMNode().innerHTML = error; } } },
I am building a react component.
from flowchart.js.
@sobanhameed
I find that i'm getting the same issue as well, for example in my case, I bind a button click to refresh the diagram based on the syntax from a textarea:
A simple flow like this is giving issue too:
st=>start: Workflow Start|
op1=>operation: Operation 1|
e=>end: End
st->op1->e
On the first run, everything is ok but when i rerun again, sometime the line breaks in between
If I run it a couple more time, the item seems to be mis-positioned by getting lower to the right every time
Do you have any solution on the above yet?
from flowchart.js.
@sobanhameed
I've been looking for a React library that wraps around flowchart.js and wonder if you have anything you might be able to share or point me to any open source project
So far this issue is the only thing that comes up in search
Any help/guidance greatly appreciated!
from flowchart.js.
Related Issues (20)
- Three parallel lines from start HOT 8
- How can I create below structure? HOT 3
- [Question] How to make two nodes output to the same node? HOT 3
- Not getting the error in code. HOT 10
- Left path not working in parallel. HOT 3
- Open modal popup when clicked on node. HOT 1
- Link not working HOT 5
- Igor? HOT 4
- How do I control the arrow length? HOT 3
- Flow chart scaling and alignment issues HOT 7
- code2flow seems to be more convenient,Whether you have considered changing the syntax like this? HOT 3
- [help] how can i use this lib HOT 1
- I used your example/index.html in pyflowchart
- [Python] Add support for classes HOT 3
- how to use this in typescript? HOT 4
- How to Add Text Direction
- Incorrect element offset HOT 1
- Could you add input, output type? HOT 1
- Items piling on top of each other ?
- Where did box 5 go? HOT 1
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 flowchart.js.