Browser settings

The Neo4j Browser defaults for all settings can be adjusted at any time in Neo4j Browser and globally. As briefly introduced in Settings, available settings can be adjusted in the Settings drawer in the sidebar.

Table 1. Available Browser settings
Browser Setting Default value Description

maxVizNodes

1000

The maximum number of nodes to render in the graph visualization.

maxNewNeighbours

100

The maximum number of neighbours for a node.

recordLimit

1000

The maximum number of results to fetch per frame.

maxHistory

30

The maximum number of recently executed queries kept in Browser. When reached, old entries get retired. The command history is persisted across Browser restarts.

retainParameters

disabled

Enable/disable parameters persisted in local storage for use across sessions.

accessMode

write

Sets the access mode for the database (i.e. Read or Write).

enableLinting

false

Show errors and warnings in the query editor.

crashReports

true

Enable/disable crash report collection.

usageTracking

true

Allow product usage statistics to be sent.

theme

system

Neo4j Browser UI theme. Possible values: light, dark, and system.

Adjust settings globally

To change the configuration settings for all users of Neo4j Browser, modify the neo4j.conf file, or if using Neo4j Desktop, navigate to the instance which settings you want to update and select Settings from the more […​] menu. Note that you need to provide your own application to access the neo4j.conf file.

For example, to change the maxFrames from its default of 50 to 10 and the theme to dark, add the following line to neo4j.conf:

browser.post_connect_cmd=config {maxFrames:10, theme: "dark"}

This changes the maxFrames from its default of 50 to 10 and then restarts Neo4j.

Table 2. Global Browser settings
Browser Setting Default value Description

browser.allow_outgoing_connections Deprecated

true

Configure the policy for outgoing Neo4j Browser connections. This should be managed by using dbms.security.http_static_content_security_policy_header instead. See Operations Manual → Security settings for more information.

browser.credential_timeout

0s

Configure the Neo4j Browser to time out logged-in users after this idle period. Setting this to 0 indicates no limit. Valid units are ns, μs, ms, s, m, h, and d; default unit is s).

browser.post_connect_cmd

Commands to be run when Neo4j Browser successfully connects to the server. Separate multiple commands with a semicolon (;).

browser.remote_content_hostname_whitelist

guides.neo4j.com,localhost

Allowlist of hosts for the Neo4j Browser to be allowed to fetch content from.

client.allow_telemetry

true

Turn off telemetry globally.

browser.retain_editor_history

false

Configure the Neo4j Browser to store or not store editor history.