CSV export

Permission: Settings management

CSV export setting is used to set which node attributes and relationship attributes are exported when user uses the CSV export options in Graphlytic.

Configuration

  1. Left menu - settings

  2. In panel "Settings list" use icon "Update" for setting "CSV_EXPORT".

  3. Enter JSON configuration and confirm by pressing "Save" button.

Default configuration

Default configuration contains several default attributes to see how configuration should looks like. Probably this configuration doesn't match model of your data but can serve as example of short configuration.

  1. Left menu - settings

  2. In panel "Settings list" use icon "Update" for setting "CSV_EXPORT".

  3. Press button "Default" and store by pressing button "Save".

Automatic configuration

Automatic configuration is used to generate configuration which contains all existing node attributes and all existing relationship attributes.

This automatically generated configuration can be used as good starting point to create own configuration.

  1. Left menu - settings

  2. In panel "Settings list" use icon "Update" for setting "CSV_EXPORT".

  3. Press button "Automatic", wait for generator to generate JSON and store by pressing button "Save".

Description of configuration

Configuration is entered as JSON. Example of JSON:

{
"nodeExportAttributes" : ["TYPE", "SUBTYPE", "_dbId"],
"edgeExportAttributes" : ["TYPE", "SUBTYPE", "_dbId"],
"exportWithSchemaLabels" : false
}

Explanation of attributes:

  • "nodeExportAttributes" - list of node attributes which are exported. If set to null then all nodeAttributes from Data schema are exported. mandatory

  • "edgeExportAttributes" - list of relationship attributes which are exported. If set to null then all edgeAttributes from Data schema are exported. mandatory

  • "exportWithSchemaLabels" - true / false - if set to true then "label" values from Data schema are used as column titles. If set to false then "dataAttr" values from Data schema are used as column titles.