Skip to content

jvke/yfiles-react-integration-basic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yFiles logo

yFiles integration for create-react-app

This sample application serves as a basic scaffold of how to integrate yFiles for HTML in a React application. It was scaffolded with create-react-app.

To run this project, a valid yFiles for HTML version is required. You can evaluate yFiles 60 days free of charge on my.yworks.com.

Version Information

  • create-react-app v3.3.0
  • yFiles for HTML 2.3

Getting Started

Just clone this repository with

git clone https://github.com/yWorks/yfiles-react-integration-basic

Then, extract a yFiles Evaluation package beside it and run

npm install

You can serve the application on http://localhost:3000/ with

npm run start

Under the Hood

This project is a default create-react-app application, where yFiles was added as an additional dependency to integrate a basic graph component.

A step-by-step description of how to integrate yFiles in a React application can be found here.

What's next?

This basic yFiles integration can be used as a starting point to test the capabilities of yFiles or to implement your own use case. yFiles for HTML comes with a lot of source-code demos that show different aspects of the library.

You can browse through the demos and look for features that you find interesting for your use case and integrate it in this basic component to build a more sophisticated application.

There is also a slightly bigger React integration demo available in the package and on GitHub. This is also available with TypeScript (see GitHub).

Furthermore, there is an extensive Developer's Guide that covers anything from graph creation and styling to automatic layouts and advanced customizations.

Support

If you need help with your setup or a certain feature, don't hesitate to contact our support through the Customer Center or by email yfileshtml@yworks.com.

About

A basic integration of yFiles for HTML in React

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 55.7%
  • CSS 22.6%
  • HTML 21.7%