## ## Example CSV import. Use ## for comments and # for configuration. Paste CSV below. ## The following names are reserved and should not be used (or ignored): ## id, tooltip, placeholder(s), link and label (see below) ## # # ## Node style (placeholders are replaced once). ## Default is the current style for nodes. # # style: label;image=%image%;whiteSpace=wrap;html=1;rounded=1;fillColor=%fill%;strokeColor=%stroke%; # ## Parent style for nodes with child nodes (placeholders are replaced once). # # parentstyle: swimlane;whiteSpace=wrap;html=1;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1; # ## Uses the given column name as the identity for cells (updates existing cells). ## Default is no identity (empty value or -). # # identity: - # ## Uses the given column name as the parent reference for cells. Default is no parent (empty or -). ## The identity above is used for resolving the reference so it must be specified. # # parent: - # ## Adds a prefix to the identity of cells to make sure they do not collide with existing cells (whose ## IDs are numbers from 0..n, sometimes with a GUID prefix in the context of realtime collaboration). ## Default is csvimport-. # # namespace: csvimport- # ## Connections between rows ("from": source colum, "to": target column). ## Label, style and invert are optional. Defaults are '', current style and false. ## In addition to label, an optional fromlabel and tolabel can be used to name the column ## that contains the text for the label in the edges source or target (invert ignored). ## The label is concatenated in the form fromlabel + label + tolabel if all are defined. ## The target column may contain a comma-separated list of values. # ## Node x-coordinate. Possible value is a column name. Default is empty. Layouts will ## override this value. # # left: # ## Node y-coordinate. Possible value is a column name. Default is empty. Layouts will ## override this value. # # top: # ## Node width. Possible value is a number (in px), auto or an @ sign followed by a column ## name that contains the value for the width. Default is auto. # # width: auto # ## Node height. Possible value is a number (in px), auto or an @ sign followed by a column ## name that contains the value for the height. Default is auto. # # height: auto # ## Padding for autosize. Default is 0. # # padding: -12 # ## Comma-separated list of ignored columns for metadata. (These can be ## used for connections and styles but will not be added as metadata.) # ## ignore: id,image,fill,stroke # ## Column to be renamed to link attribute (used as link). # # link: url # ## Spacing between nodes. Default is 40. # # nodespacing: 40 # ## Spacing between levels of hierarchical layouts. Default is 100. # # levelspacing: 100 # ## Spacing between parallel edges. Default is 40. Use 0 to disable. # # edgespacing: 40 # ## Name or JSON of layout. Possible values are auto, none, verticaltree, horizontaltree, ## verticalflow, horizontalflow, organic, circle or a JSON string as used in Layout, Apply. ## Default is auto. # # layout: auto # ## Node label with placeholders and HTML. ## Default is '%name_of_first_column%'. # # label: %label%
%hasCategory%
ID ## Multiple connect entries are allowed. # # connect: {"from": "category", "to": "label", "invert": true, "label": "hasCategory", \ # "style": "curved=1;endArrow=blockThin;endFill=1;fontSize=11;"} ## connect: {"from": "refs", "to": "id", "style": "curved=1;fontSize=11;"} ## ---- CSV below this line. First line are column names. ---- "label","category","fill","stroke","url","image" "A Furlong Too Late","http://kingsley.idehen.net/public_home/danielhm/Public/drinks/drinks-test.ttl#Ordinary+Drink","#d5e8d4","#82b366","http://kingsley.idehen.net/public_home/danielhm/Public/drinks/drinks-test.ttl#11000","http://www.thecocktaildb.com/images/media/drink/ssxvww1472669166.jpg" "A Night In Old Mandalay","http://kingsley.idehen.net/public_home/danielhm/Public/drinks/drinks-test.ttl#Ordinary+Drink","#d5e8d4","#82b366","http://kingsley.idehen.net/public_home/danielhm/Public/drinks/drinks-test.ttl#11001","http://www.thecocktaildb.com/images/media/drink/vyrvxt1461919380.jpg"