API Docs for: trial
Show:

nx.graphic.Topology.USMapLayout Class

US map layout class, this require d3.js

files:
http://d3js.org/d3.v3.min.js

example

var topo = new nx.graphic.Topology({
   adaptive: true,
   nodeConfig: {
                   label: 'model.name'
               },
   showIcon: false,
   layoutType: 'USMap',
   layoutConfig: {
       longitude: 'model.longitude',
       latitude: 'model.latitude'
   },
   data: topologyData
})

Item Index

Properties

Properties

latitude

Unknown

Map's latitude attribute

longitude

Unknown

Map's longitude attribute