Changes

Jump to navigation Jump to search
no edit summary
Line 69: Line 69:  
==[[Maker Hub Wiki]]==
 
==[[Maker Hub Wiki]]==
 
Go to the [[Maker Hub Wiki]] page for information on the structure of this Wiki and how to appropriately edit this Wiki. Also, try out the [[Sandbox]] for editing practice. There is also a [https://drive.google.com/drive/folders/0ADy2qTefCbcqUk9PVA special google drive] for Maker Hub Crew.
 
Go to the [[Maker Hub Wiki]] page for information on the structure of this Wiki and how to appropriately edit this Wiki. Also, try out the [[Sandbox]] for editing practice. There is also a [https://drive.google.com/drive/folders/0ADy2qTefCbcqUk9PVA special google drive] for Maker Hub Crew.
 +
 +
{
 +
  "version": 2,
 +
  "width": 550,
 +
  "height": 400,
 +
  "data": [
 +
    {
 +
      "name": "tree",
 +
      "url": "wikiraw:///Extension:Graph/data/flare-json",
 +
      "format": {"type": "treejson"},
 +
      "transform": [
 +
        {"type": "hierarchy", "field": "size", "size": [400, 500]}
 +
      ]
 +
    }
 +
  ],
 +
  "marks": [
 +
    {
 +
      "type": "path",
 +
      "from": {
 +
        "data": "tree",
 +
        "transform": [
 +
          {
 +
            "type": "filter", "test": "datum.parent"
 +
          },
 +
          {
 +
            "type": "linkpath",
 +
            "sourceX": "parent.layout_y",
 +
            "sourceY": "parent.layout_x",
 +
            "targetX": "layout_y",
 +
            "targetY": "layout_x",
 +
            "shape": "diagonalX"
 +
          }
 +
        ]
 +
      },
 +
      "properties": {
 +
        "enter": {
 +
          "path": {"field": "layout_path"},
 +
          "stroke": {"value": "#ddd"}
 +
        }
 +
      }
 +
    },
 +
    {
 +
      "type": "text",
 +
      "from": {"data": "tree"},
 +
      "properties": {
 +
        "enter": {
 +
          "x": {"field": "layout_y", "offset": -10},
 +
          "y": {"field": "layout_x"},
 +
          "font": {"value": "Helvetica Neue"},
 +
          "fontSize": {"value": 10},
 +
          "align": {"value": "left"},
 +
          "baseline": {"value": "middle"},
 +
          "fill": {"value": "#000"},
 +
          "text": {"field": "name"}
 +
        }
 +
      }
 +
    }
 +
  ]
 +
}

Navigation menu