Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion redisinsight/ui/src/packages/redisgraph/src/Graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function Graph(props: { graphKey: string, data: any[] }) {
const [container, setContainer] = useState<IGraphD3>(null)
const [selectedEntity, setSelectedEntity] = useState<ISelectedEntityProps | null>(null)
const [start, setStart] = useState<boolean>(false)
const [showAutomaticEdges, setShowAutomaticEdges] = useState(true);
const [showAutomaticEdges, setShowAutomaticEdges] = useState(false);

const parsedResponse = responseParser(props.data)
let nodeIds = new Set(parsedResponse.nodes.map(n => n.id))
Expand Down
2 changes: 1 addition & 1 deletion redisinsight/ui/src/packages/redisgraph/src/graphd3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ export interface IGraphD3 {
function GraphD3(_selector: HTMLDivElement, _options: any): IGraphD3 {
let info: any
let nodes: INode[]
let shouldShowAutomaticEdges = true;
let shouldShowAutomaticEdges = false;
let relationship: d3.Selection<SVGGElement, IRelationship, SVGGElement, any>
let labelCounter = 0;
let labels: { [key: string]: number } = { }
Expand Down