0.7.0 • Published 4 years ago

@graspologic/render-controls-react v0.7.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

@graspologic/render-controls-react

Provides a set of controls for adjusting how the graph renderer renders.

Usage

import React from 'react'
import { GraphView } from '@graspologic/renderer'
import {
	NodeSettings,
	EdgeSettings,
	DisplaySettings,
	SettingsPane,
} from '@graspologic/render-controls-react'
export const MyGraphComponent: React.FC = () => {
	return (
		<GraphView data={{ nodes: [], edges: [] }}>
			{/* This will attach the settings pane to the graph view */}
			<SettingsPane>
				{/* This will add the "Display" section to the settings pane */}
				<DisplaySettings />

				{/* This will add the "Node" section to the settings pane */}
				<NodeSettings />

				{/* This will add the "Edge" section to the settings pane */}
				<EdgeSettings />
			</SettingsPane>
		</GraphView>
	)
}

See the API documentation or examples for additional examples.

0.7.0

4 years ago

0.7.0-13

4 years ago

0.7.0-12

4 years ago

0.7.0-11

4 years ago

0.7.0-10

4 years ago

0.7.0-9

4 years ago

0.7.0-8

4 years ago

0.7.0-7

4 years ago

0.7.0-6

4 years ago

0.7.0-3

4 years ago

0.7.0-5

4 years ago

0.0.7-3

4 years ago

0.7.0-4

4 years ago

0.7.0-1

5 years ago

0.7.0-2

5 years ago

0.7.0-0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.5.0-3

5 years ago

0.5.0-2

5 years ago

0.5.0-modularize

5 years ago

0.5.0-1

5 years ago

0.4.1-beta.14.0

5 years ago

0.4.0

5 years ago