Sha256: 0f83c50712b9ed06c89769ac6efe3a14a05cc08055bbb84ddc5c59e190262c90

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

data_sources:
  - id: network/nodes
    file: data_sources/nodes_full.csv  # checking that node ids can be anything
  - id: network/links
    file: data_sources/links_full.csv

widgets:
  - id: network_full
    name: Discovered Network
    type: data/network2
    height: 1.0
    #data_source: network
    data_sources:
      - name: nodes
        stream: network/nodes
      - name: links
        stream: network/links

    mapping:
      nodes:
        x: auto
        y: auto
        radius: 15
          # property: capacity
          # scale: 20
          # min: 4
        fill_color: #white
          property: type
          color:
            router: orange
            switch: '#FFDD00' 
            genericclient: lightskyblue 
            unknown: white 
            dbserver: '#D473D4' #Mauve is the best colour for a DB: http://search.dilbert.com/comic/Database%20Color
            dbclient: '#915F6D' # clients have similar colour
            wwwserver: darkgreen
            admin: '#0000FF' # deep blue for admin
            internet: '#eeeeee'
          # property: capacity
          # color: red_yellow20_green()
        stroke_width: 2
        label_color: black
        label_size: 14
      links:
        stroke_width: 8
        stroke_color:
          property: zone
          color: category10()

    force:
      link_distance: 50
      charge: -1000

    line_mode: straight
    interaction_mode: click

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omf_web-1.2.9 example/topo_discovery/widgets_combined/network_full.yaml