{ "dataRoles": [ { "name": "Source", "kind": "Grouping", "displayName": "Source", "displayNameKey": "Visual_Source" }, { "name": "Destination", "kind": "Grouping", "displayName": "Destination", "displayNameKey": "Visual_Destination" }, { "name": "DestinationLabels", "kind": "Grouping", "displayName": "Destination labels", "displayNameKey": "Visual_DestinationLabels" }, { "name": "SourceLabels", "kind": "Grouping", "displayName": "Source labels", "displayNameKey": "Visual_SourceLabels" }, { "name": "Weight", "kind": "Measure", "displayName": "Weight", "displayNameKey": "Visual_Weight" } ], "dataViewMappings": [ { "conditions": [ { "Source": { "min": 0, "max": 1 }, "Destination": { "min": 0, "max": 1 }, "SourceLabels": { "min": 0, "max": 1 }, "DestinationLabels": { "min": 0, "max": 1 }, "Weight": { "min": 0, "max": 0 } }, { "Source": { "min": 0, "max": 1 }, "Destination": { "min": 0, "max": 1 }, "Weight": { "min": 1, "max": 1 } } ], "categorical": { "categories": { "select": [ { "bind": { "to": "Source" } }, { "bind": { "to": "Destination" } }, { "bind": { "to": "SourceLabels" } }, { "bind": { "to": "DestinationLabels" } } ], "dataReductionAlgorithm": { "top": {} } }, "values": { "for": { "in": "Weight" } } } } ], "objects": { "labels": { "displayName": "Data labels", "displayNameKey": "Visual_DataPointsLabels", "properties": { "show": { "displayName": "Show", "displayNameKey": "Visual_Show", "type": { "bool": true } }, "fill": { "displayName": "Color", "displayNameKey": "Visual_LabelsFill", "type": { "fill": { "solid": { "color": true } } } }, "fontSize": { "displayName": "Text Size", "displayNameKey": "Visual_TextSize", "type": { "formatting": { "fontSize": true } } }, "forceDisplay": { "displayName": "Force display", "displayNameKey": "Visual_Force_Display", "description": "Display all labels anyway", "type": { "bool": true } } } }, "links": { "displayName": "Links", "displayNameKey": "Visual_Links", "properties": { "fill": { "displayName": "Color", "displayNameKey": "Visual_LabelsFill", "type": { "fill": { "solid": { "color": true } } } } } }, "nodes": { "displayName": "Nodes", "displayNameKey": "Visual_Nodes", "properties": { "fill": { "displayName": "Color", "displayNameKey": "Visual_LabelsFill", "type": { "fill": { "solid": { "color": true } } } } } } }, "sorting": { "implicit": { "clauses": [ { "role": "Weight", "direction": 1 } ] } } }