From a44813e69593b8c3a8c1ee08c0f08a18a52af256 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 20 Jan 2016 20:47:22 -0800 Subject: [PATCH] Add graphviz file for structure of detail XML. --- detail-xml | 3 +- spv-detail.gv | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 spv-detail.gv diff --git a/detail-xml b/detail-xml index 1684915bf5..3735a657fa 100644 --- a/detail-xml +++ b/detail-xml @@ -119,9 +119,8 @@ style := textAlignment size?)? visible? - color? color2? + color? color2?] - layer := [id? value variable method? visible?] layerController := [id? source target] diff --git a/spv-detail.gv b/spv-detail.gv new file mode 100644 index 0000000000..e026a483e3 --- /dev/null +++ b/spv-detail.gv @@ -0,0 +1,92 @@ +digraph spv_detail { + "visualization" -> "extension" [label="?"]; + "visualization" -> "userSource"; + "visualization" -> "sourceVariable" [label="*"]; + "visualization" -> "derivedVariable" [label="*"]; + "visualization" -> "graph"; + "visualization" -> "labelFrame" [label="+"]; + "visualization" -> "container" [label="?"]; + "visualization" -> "style" [label="+"]; + "visualization" -> "layerController" [label="?"]; + + "sourceVariable" -> "extension" [label="*"]; + "sourceVariable" -> "format" [label="?"]; + "sourceVariable" -> "stringFormat" [label="?"]; + + "derivedVariable" -> "extension" [label="*"]; + "derivedVariable" -> "format" [label="?"]; + "derivedVariable" -> "stringFormat" [label="?"]; + "derivedVariable" -> "valueMapEntry" [label="*"]; + + "format" -> "affix" [label="*"]; + "format" -> "relabel" [label="?"]; + + "dateTimeFormat" -> "affix" [label="?"]; + + "stringFormat" -> "affix" [label="*"]; + "stringFormat" -> "relabel" [label="?"]; + + "graph" -> "location" [label="+"]; + "graph" -> "coordinates"; + "graph" -> "faceting"; + "graph" -> "facetLayout"; + "graph" -> "interval"; + + "faceting" -> "cross"; + "faceting" -> "layer" [label="*"]; + + "interval" -> "labeling"; + "interval" -> "footnotes" [label="?"]; + + "labeling" -> "format" [label="*"]; + "labeling" -> "formatting" [label="*"]; + "labeling" -> "footnotes" [label="*"]; + + "formatting" -> "formatMapping" [label="*"]; + + "formatMapping" -> "format"; + + "footnotes" -> "footnoteMapping" [label="+"]; + + "cross" -> "nest" [label="+"]; + + "nest" -> "variableReference" [label="+"]; + + "facetLayout" -> "tableLayout"; + "facetLayout" -> "facetLevel" [label="+"]; + "facetLayout" -> "setCellProperties" [label="*"]; + "facetLevel" -> "axis"; + + "axis" -> "majorTicks"; + + "label" -> "descriptionGroup" [label="*"]; + "label" -> "text" [label="*"]; + + "majorTicks" -> "gridline" [label="?"]; + + "descriptionGroup" -> "description" [label="+"]; + "descriptionGroup" -> "text"; + + "setCellProperties" -> "setMetadata"; + "setCellProperties" -> "setStyle" [label="*"]; + "setCellProperties" -> "setFormat" [label="+"]; + "setCellProperties" -> "union" [label="?"]; + + "setFormat" -> "dateTimeFormat" [label="?"]; + "setFormat" -> "format" [label="?"]; + "setFormat" -> "numberFormat" [label="?"]; + "setFormat" -> "stringFormat" [label="*"]; + + "labelFrame" -> "location" [label="+"]; + "labelFrame" -> "label"; + "labelFrame" -> "paragraph" [label="?"]; + + "container" -> "extension" [label="?"]; + "container" -> "location" [label="+"]; + "container" -> "labelFrame" [label="+"]; + + "union" -> "intersect" [label="+"]; + + "intersect" -> "intersectWhere" [label="?"]; + "intersect" -> "where" [label="*"]; +} -- 2.30.2