Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4 Release #688

Merged
merged 24 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f151d32
Made API keys hidden (password fields) in the query translator module
nielsdejong Oct 10, 2023
0caa78a
Added new report action type for tables: multiselect checkboxes (#664)
nielsdejong Oct 27, 2023
3a2cf4d
Fix handling external updates of parameter values in parameter select…
nielsdejong Oct 27, 2023
5e27a02
Feature/new dashboard load UI (#657)
nielsdejong Oct 27, 2023
f4c2791
Bump @babel/traverse from 7.21.4 to 7.23.2 in /gallery (#670)
dependabot[bot] Nov 3, 2023
7b7bed1
Bump @babel/traverse from 7.20.13 to 7.23.2 (#669)
dependabot[bot] Nov 3, 2023
4f29427
Bump postcss from 8.4.23 to 8.4.31 in /gallery (#656)
dependabot[bot] Nov 6, 2023
f823de2
Bump postcss from 8.4.21 to 8.4.31 (#655)
dependabot[bot] Nov 6, 2023
e4b0ecd
Text hard to read on dark theme (#668)
JonanOribe Nov 6, 2023
96bd80b
Hotfix for wrong default parameter replacement in markdown
nielsdejong Nov 7, 2023
2d030a4
Merge branch 'develop' of github.com:neo4j-labs/neodash into develop
nielsdejong Nov 7, 2023
295857b
Add back arrow on connection modal (#675)
hugorplobo Nov 10, 2023
3742393
VULCAN-126/Override default message (#683)
nielsdejong Nov 10, 2023
be8b08f
Fix/hiding columns in table (#685)
AleSim94 Nov 13, 2023
ad4bd0b
Fix parameters values (#641)
BennuFire Nov 13, 2023
d7be8c7
Updated dashboard format to 2.4. Double resolution for horizontal and…
nielsdejong Nov 14, 2023
fceb5f3
Feature/gantt chart (#684)
alfredorubin96 Nov 14, 2023
c54acd3
adding in advanced config for the graph viz more graph layout config …
AleSim94 Nov 14, 2023
a6140d0
Adding form widget as a new extension (#568)
nielsdejong Nov 14, 2023
27d35f1
Model Examples and LLM improvements (#600)
alfredorubin96 Nov 15, 2023
85ff8fd
Merge branch 'master' into develop
nielsdejong Nov 16, 2023
9732c09
Added release notes for 2.4 + bonus feature (keyboard shortcut to run…
nielsdejong Nov 16, 2023
86cf207
Hotfixes for Sonarqube issues
nielsdejong Nov 16, 2023
85d9581
minor fix in the forms where it wasn't getting the correct value in t…
alfredorubin96 Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adding in advanced config for the graph viz more graph layout config … (
#690)

* adding in advanced config for the graph viz more graph layout config options

* added doc about the new advanced setting

---------

Co-authored-by: aleksandarneo4j <aleksandar.simeunovic@neotechnology.com>
  • Loading branch information
AleSim94 and aleksandarneo4j authored Nov 14, 2023
commit c54acd3d2cbf83205e5ae2771116108bdd478b92
11 changes: 7 additions & 4 deletions docs/modules/ROOT/pages/user-guide/reports/graph.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,13 @@ If 0, no arrow will be drawn.
|Background Color |Text |#fafafa |The background color of the
visualization.

|Layout (experimental) |List |force-directed |Use this to switch from
the main (force-directed) layout to one of the two experimental layouts
(tree/radial). For the experimental layouts, make sure your graph is a
DAG (directed acyclic graph).
|Layout (experimental) |List |force-directed |tree-top-down |tree-bottom-up |tree-left-right |tree-right-left |radial | Use this to switch from
the main (force-directed) layout to one of the experimental layouts
(tree, radial). For the experimental layouts, make sure
your graph is a DAG (directed acyclic graph).

| Graph Depth Separation | Number | 30 | Specify the level distance for the tree layout.
This setting controls the separation between different levels in the tree hierarchy. Adjusting this value impacts the overall spacing of the tree layout in your graph visualization.

|Enable graph exploration |on/off |on |Enables basic exploration functionality for the graph. Exploration can be done by right clicking on a node, and choosing 'Expand' to choose a type to traverse. Data is retrieved real-time and not cached in the visualization.

Expand Down
1 change: 1 addition & 0 deletions src/chart/graph/GraphChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ const NeoGraphChart = (props: ChartProps) => {
},
engine: {
layout: layouts[settings.layout],
graphDepthSep: settings.graphDepthSep,
queryCallback: props.queryCallback,
cooldownTicks: cooldownTicks,
setCooldownTicks: setCooldownTicks,
Expand Down
8 changes: 7 additions & 1 deletion src/chart/graph/GraphChartVisualization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
*/
export const layouts = {
'force-directed': undefined,
tree: 'td',
'tree-top-down': 'td',
'tree-bottom-up': 'bu',
'tree-left-right': 'lr',
'tree-right-left': 'rl',
radial: 'radialout',
};

Expand Down Expand Up @@ -90,6 +93,7 @@ export interface GraphChartVisualizationProps {
*/
engine: {
layout: Layout;
graphDepthSep: number;
queryCallback: (query: string, parameters: Record<string, any>, setRecords: any) => void;
cooldownTicks: number;
setCooldownTicks: (ticks: number) => void;
Expand Down Expand Up @@ -134,6 +138,8 @@ export interface GraphChartVisualizationProps {
setClickPosition: (pos) => void;
setPageNumber: any;
pageNames: [];
customTablePropertiesOfModal: any[];
pageIdAndParameterName: string;
};
/**
* entries in 'extensions' let users plug in extra functionality into the visualization based on enabled plugins.
Expand Down
1 change: 1 addition & 0 deletions src/chart/graph/GraphChartVisualization2D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const NeoGraphChartVisualization2D = (props: GraphChartVisualizationProps
linkDirectionalArrowLength={props.style.linkDirectionalArrowLength}
linkDirectionalArrowRelPos={1}
dagMode={props.engine.layout}
dagLevelDistance={props.engine.graphDepthSep}
linkWidth={(link: any) => link.width}
linkLabel={(link: any) => (props.interactivity.showPropertiesOnHover ? `<div>${getTooltip(link)}</div>` : '')}
nodeLabel={(node: any) => (props.interactivity.showPropertiesOnHover ? `<div>${getTooltip(node)}</div>` : '')}
Expand Down
7 changes: 6 additions & 1 deletion src/config/ReportConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,14 @@ const _REPORT_TYPES = {
layout: {
label: 'Graph Layout (experimental)',
type: SELECTION_TYPES.LIST,
values: ['force-directed', 'tree', 'radial'],
values: ['force-directed', 'tree-top-down', 'tree-bottom-up', 'tree-left-right', 'tree-right-left', 'radial'],
default: 'force-directed',
},
graphDepthSep: {
label: 'Tree layout level distance',
type: SELECTION_TYPES.NUMBER,
default: '30',
},
enableExploration: {
label: 'Enable graph exploration',
type: SELECTION_TYPES.LIST,
Expand Down
Loading