3fff754cd6
Previously, when setting startFill/endFill, the display was inverted comparing to the configuration. The marker was filled when set to false, not filled when set to true. When not set, the marker was filled, which is the expected default. The issue came from a wrong condition to manage the default value and was reproduced with the Markers Story. In addition to the code fix, update the Markers.stories.js to fix style configurations - use number instead of string for markers size - use boolean instead of number for start/end fill |
||
---|---|---|
.. | ||
__tests__/view | ||
css | ||
images | ||
src | ||
LICENSE | ||
README.md | ||
index.txt | ||
jest.config.cjs | ||
package.json | ||
replace_comment_params.py | ||
replace_defs.py | ||
tsconfig.json | ||
typed_mxgraph_defs.json | ||
webpack.config.js |
README.md
@maxgraph/core
maxGraph is a TypeScript library which can display and allow interaction with vector diagrams. At a high level, it provides:
- Nodes, also known as vertices which are typically represented by shapes like rectangles.
- Edges which can be lines and arrows which normally point between one node and another.
It provides many of the diagramming features which would be expected by a piece of presentation software like Microsoft® PowerPoint™ or LibreOffice® Impress such as being able to resize, move or rotate nodes, but has a stronger focus on automatic layout algorithms and applications of Graph Theory. It is suited towards software which requires finer-grained customization of functionality than off-the-shelf packages.
For more details, see the maxGraph GitHub repository.
Install
npm install @maxgraph/core