vizceral-vue
v0.1.4
Published
Vizceral Vue Implementation ispired by [`vizceral-react`](https://github.com/Netflix/vizceral-react)
Readme
vizceral-vue
Vizceral Vue Implementation ispired by vizceral-react
Setup
Install package:
npm install vizceral-vue --saveImport component and start using it:
import VizceralVue from 'vizceral-vue';
Vue.use(VizceralVue);Example of usage:
import Vizceral from 'vizceral-vue';
<vizceral-vue
:traffic="trafficData"
:view="currentView"
:showLabels="showLabels"
:physicsOptions="physicsOptions"
:filters="filters"
:matchesFound="matchesFound"
:match="searchTerm"
:modes="modes"
:definitions="definitions"
:styles="styles"
/>Props
allowDraggingOfNodes
// Default: false
allowDraggingOfNodes: BooleanNodes can be repositioned through dragging if and only if this is true.
definitions
// Default: {}
definitions: ObjectObject map of definitions. Refer to github.com/Netflix/Vizceral/wiki/Configuration#definitions-for-data-to-display
filters
// Default: []
filters: ArrayArray of filter definitions and current values to filter out nodes and connections. Refer to github.com/Netflix/Vizceral/wiki/Configuration#filters
match
// Default: ''
match: StringA search string to highlight nodes that match.
modes
modes: ObjectMap of modes to mode type, e.g. { detailedNode: 'volume' }.
objectHighlight
objectHighlight: ObjectPass in an object to highlight.
showLabels
// Default: true
showLabels: BooleanWhether or not to show labels on the nodes.
styles
// Default: {}
styles: ObjectStyles to override default properties.
targetFramerate
// Default: null
targetFramerate: NumberTarget framerate for rendering engine
traffic
// Default: {}
traffic: ObjectThe traffic data. See github.com/Netflix/Vizceral/wiki/How-to-Use#graph-data-format for specification.
