Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: About Topology
section: topology
section: extensions
subsection: topology
sortValue: 1
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyGettingStartedDemo.tsx
propComponents: ['VisualizationProvider', 'VisualizationSurface']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Anchors
section: topology
section: extensions
subsection: topology
sortValue: 13
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyAnchorsDemo.tsx
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Context menu
section: topology
section: extensions
subsection: topology
sortValue: 23
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyContextMenuDemo.tsx
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Control bar
section: topology
section: extensions
subsection: topology
sortValue: 31
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyControlBarDemo.tsx
propComponents: ['TopologyControlBar', 'TopologyView']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Custom edges
section: topology
section: extensions
subsection: topology
sortValue: 12
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyCustomEdgesDemo.tsx
propComponents: ['DefaultEdge']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Custom nodes
section: topology
section: extensions
subsection: topology
sortValue: 11
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyCustomNodesDemo.tsx
propComponents: ['DefaultNode', 'DefaultEdge', 'DefaultGroup']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Drag and drop
section: topology
section: extensions
subsection: topology
sortValue: 24
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyDragDropDemo.tsx
propComponents: ['DefaultNode', 'DefaultEdge', 'withDndDrop']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Layouts
section: topology
section: extensions
subsection: topology
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyLayoutsDemo.tsx
---

Expand Down Expand Up @@ -52,7 +53,7 @@ There are many algorithms available for positioning nodes, based on factors like

- **Force:** Built on top of the d3-force layout provided by [d3/d3-force](https://github.com/d3/d3-force).
- **Dagre:** Built on top of the dagrejs dagre layout provided by [dagrejs/dagre](https://github.com/dagrejs/dagre).
- **Cola:** Built on top of the WebCola layout provided by [tgdwyer/WebCola](://github.com/tgdwyer/WebCola).
- **Cola:** Built on top of the WebCola layout provided by [tgdwyer/WebCola](https://github.com/tgdwyer/WebCola).
- This layout uses `force simulation` by default, but can be turned off by setting the options `layoutOnDrag` flag to "false".
- **ColaGroups:** Uses the cola layout recursively on each group, so that the group's children locations are set before the group's location is set relative to other groups or nodes at its level.
- **Grid:** Orders nodes in a grid, making the grid as `square` as possible.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Pan and zoom
section: topology
section: extensions
subsection: topology
sortValue: 22
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyPanZoomDemo.tsx
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Pipelines
section: topology
section: extensions
subsection: topology
sortValue: 71
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyPipelinesGettingStartedDemo.tsx
propComponents: ['TaskNode', 'TaskEdge', 'WhenDecorator']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Selection
section: topology
section: extensions
subsection: topology
sortValue: 21
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologySelectableDemo.tsx
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Sidebar
section: topology
section: extensions
subsection: topology
sortValue: 33
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologySidebarDemo.tsx
propComponents: ['TopologySideBar', 'TopologyView']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: Toolbar
section: topology
section: extensions
subsection: topology
sortValue: 32
sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyToolbarDemo.tsx
propComponents: ['TopologyView']
Expand Down
2 changes: 1 addition & 1 deletion packages/module/patternfly-docs/patternfly-docs.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This module is shared between NodeJS and babelled ES5
module.exports = {
sideNavItems: [{ section: 'topology' }],
sideNavItems: [{ section: 'extensions' }],
topNavItems: [],
port: 8008
};