EntityRelationshipPalette
, to ease the creation of diagramsy.view.GenericNodeRealizer.Painter
tailored for the drawing of ERD symbols with two labelsErdNotationConverter
Class | Description |
---|---|
demo.view.entityrelationship.EntityRelationshipDemo | The main demo program in this tutorial. |
demo.view.entityrelationship.EntityRelationshipPalette | This component provides templates for entity-relationship diagram (ERD)
nodes and edges that can be dragged into a y.view.Graph2DView . |
demo.view.entityrelationship.ErdNotationConverter | A converter to transform entity-relationship diagrams from Chen to Crow's Foot notation and vice versa. |
Set <yFilesDir>/src as your source directory. Then add <yFilesDir>/lib/y.jar and the source folder <yFilesDir>/src to your classpath. Now you should be ready to compile and run all executable demo classes.
First make sure you have the build tool Ant installed on your system. Now you can use the demo build script build.xml located in <yFilesDir>/src/demo to launch each demo by specifying its simple class name as a target. Alternatively, launch the interactive demo driver by specifying run as target to conveniently access all demos.