Skip to content

Conversation

@tbouffard
Copy link
Member

@tbouffard tbouffard commented Dec 14, 2022

Summary

The horizontal value was considered as true only if was set to true.
It is now also considered as true when set to undefined, as everywhere else in maxGraph.

SwimLanes.stories.js: update configuration to display nodes.

Description for the changelog

covers #73

Other info

The SwimLanes.stories.js update is just a starting point. There is still a lot to do to match the previous example of mxGraph.

maxGraph_swmilanes.mp4

Here is what the mxGraph example provides: https://jgraph.github.io/mxgraph/javascript/examples/swimlanes.html

  • on hover, an image is displayed and can be clicked to create an edge
  • labels can be edited
mxGraph@4.2.2_swmilanes.mp4

@tbouffard tbouffard added the bug Something isn't working label Dec 14, 2022
The horizontal value was considered as true only if was set to true.
It is now also considered as true when set to undefined, as everywhere else in maxGraph.
@tbouffard tbouffard force-pushed the fix/swmilanes_stories_and_default_horizontal branch from ee29ff8 to 215699d Compare December 17, 2022 09:28
@tbouffard tbouffard marked this pull request as ready for review December 17, 2022 09:28
@tbouffard tbouffard merged commit 171c8f8 into development Jan 6, 2023
@tbouffard tbouffard deleted the fix/swmilanes_stories_and_default_horizontal branch January 6, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant