maxGraph/packages/html/stories
Dave Morrissey 63f002c263
feat: restore remaining non-"Editor" examples to Storybook (#150)
Converted the following remaining "stashed" examples to Storybook:
  - GraphLayout
  - HtmlLabel
  - MenuStyle
  - ShowRegion
  - Scrollbars (is starting to display, but appears to have a bug where `<g>` elements are inserted outside of the `<svg>` element)
  - Wires

The examples are still not fully working. As the mxGraph examples were previously migrated to nextjs/react, some original code may not have been ported correctly.


Additional changes in @maxgraph/core:
  - Fixes the default parameters in `MaxPopupMenu` and `Morphing` to restore the original `mxGraph` behavior.
  - Graph: add new "create*" factory methods to ease the extension:
    - createEdgeHandlerInstance(state: CellState): EdgeHandler
    - createGraphDataModel(): GraphDataModel
    - createSelectionModel()

---------

Co-authored-by: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com>
2023-12-22 06:54:34 +01:00
..
css - Convert more examples. 2021-04-24 21:32:54 +09:00
shared chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
stashed feat: restore remaining non-"Editor" examples to Storybook (#150) 2023-12-22 06:54:34 +01:00
Anchors.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Animation.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
AutoLayout.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Boundary.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Clipboard.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Collapse.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Constituent.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
ContextIcons.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Control.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
DragSource.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Drop.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
DynamicLoading.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
DynamicStyle.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
DynamicToolbar.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
EdgeTolerance.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Editing.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Events.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
ExtendCanvas.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
FileIO.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
FixedIcons.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
FixedPoints.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Folding.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
GraphLayout.stories.js feat: restore remaining non-"Editor" examples to Storybook (#150) 2023-12-22 06:54:34 +01:00
Grid.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Groups.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Guides.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Handles.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
HelloPort.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
HelloWorld.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
HierarchicalLayout.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
HoverIcons.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
HoverStyle.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
HtmlLabel.stories.js feat: restore remaining non-"Editor" examples to Storybook (#150) 2023-12-22 06:54:34 +01:00
Images.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Indicators.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Introduction.mdx chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
JsonData.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
LabelPosition.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Labels.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Layers.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
LoD.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Manhattan.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Markers.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
MenuStyle.stories.js feat: restore remaining non-"Editor" examples to Storybook (#150) 2023-12-22 06:54:34 +01:00
Merge.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Monitor.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Morph.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
OffPage.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
OrgChart.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Orthogonal.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Overlays.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
PageBreaks.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Perimeter.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Permissions.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
PortRefs.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
RadialTreeLayout.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Scrollbars.stories.js feat: restore remaining non-"Editor" examples to Storybook (#150) 2023-12-22 06:54:34 +01:00
SecondLabel.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Shape.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
ShowRegion.stories.js feat: restore remaining non-"Editor" examples to Storybook (#150) 2023-12-22 06:54:34 +01:00
Stencils.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Stylesheet.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
SwimLanes.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Thread.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Toolbar.stories.ts chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Tree.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
UserObject.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Validation.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Visibility.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Window.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00
Wires.stories.js feat: restore remaining non-"Editor" examples to Storybook (#150) 2023-12-22 06:54:34 +01:00
Wrapping.stories.js chore: migrate to storybook v7 (#230) 2023-10-12 23:41:37 +02:00