@graspologic/render-controls-react
React-components for dat.gui controls for adjusting graph-view rendering
Last updated 2 months ago by stopyoukid .
MIT · Original npm · Tarball · package.json
$ cnpm install @graspologic/render-controls-react 
SYNC missed versions from official npm registry.

@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.

Current Tags

  • 0.4.1-beta.14.0                                ...           beta.14 (5 months ago)
  • 0.6.0                                ...           latest (2 months ago)
  • 0.4.0                                ...           local.1 (5 months ago)
  • 0.7.0-7                                ...           prerelease (16 days ago)

17 Versions

  • 0.7.0-7                                ...           16 days ago
  • 0.7.0-6                                ...           16 days ago
  • 0.7.0-5                                ...           a month ago
  • 0.7.0-4                                ...           a month ago
  • 0.7.0-3                                ...           a month ago
  • 0.0.7-3                                ...           a month ago
  • 0.7.0-2                                ...           2 months ago
  • 0.7.0-1                                ...           2 months ago
  • 0.7.0-0                                ...           2 months ago
  • 0.6.0                                ...           2 months ago
  • 0.5.0                                ...           3 months ago
  • 0.5.0-3                                ...           3 months ago
  • 0.5.0-2                                ...           3 months ago
  • 0.5.0-1                                ...           3 months ago
  • 0.5.0-modularize                                ...           3 months ago
  • 0.4.1-beta.14.0                                ...           5 months ago
  • 0.4.0                                ...           5 months ago
Downloads
Today 0
This Week 0
This Month 33
Last Day 0
Last Week 0
Last Month 57
Dependencies (5)
Dev Dependencies (6)

Copyright 2014 - 2016 © taobao.org |