react-diagrams
react-diagrams copied to clipboard
a super simple, no-nonsense diagramming library written in react that just works
Hey, how should i create labels at the start/ at the end of the path? Default label is positioned in the middle... Thanks
is there any method or prop exposed that I can check to see if the diagram has changed in any way? I can save the state of the diagram by...
I have a react-diagram application used to display a State Machine. The user can upload a file containing a new State Machine. To do this, the application opens up a...
I am trying to use dagre example to render custom nodes with PathFindingLinkModel but it always crashes when the number of nodes are more that cannot fit in the canvas...
Hi all, I am considering to use react-diagrams for a certain use case. However, all the example's seem to have ports that are either input our output. Is it possible...
Hi (great project by the way) When I do ```gatsby build``` it always complain ``` > 53 | export class CustomDeleteItemsAction extends Action { WebpackError: TypeError: Class extends value undefined...
When I create the engine like so... ``` const engine = createEngine({ repaintDebounceMs: 5 }) ``` Occasionally the pan stops working on the CanvasWidget. I jumped into the code, and...
**Pathfinding dependence issue** Line issue: ` endX = this.endNode.x,` [Line where is issue](https://github.com/qiao/PathFinding.js/blob/7b9c3ef3ef45f9130af5a1c1081be2d64305399f/src/finders/JumpPointFinderBase.js#L71) My solution: `endX = this.endNode?.x, endY = this.endNode?.y`
### Pathfinding dependence issue The issue is the next: Error: TypeError: Cannot set properties of undefined (setting 'g') Path of the issue: JPFNeverMoveDiagonally.push../node_modules/pathfinding/src/finders/JumpPointFinderBase.js.JumpPointFinderBase.findPath Solution: The solution was add "or, ||"...
I was trying to implement a custom styled node, I followed the example exactly but I'm getting this error: `TypeError: Class constructor AbstractReactFactory cannot be invoked without 'new'` This is...