Skip to content

Commit 891c165

Browse files
committed
This is good enough to show for a prototype. need different data for a tree view
1 parent 644eac4 commit 891c165

3 files changed

Lines changed: 3 additions & 141 deletions

File tree

src/_App/BotAnalysis/Networks/Graph2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ const ForceTree = ({ data }) => {
4848
nodeId="id"
4949
nodeVal="status_count"
5050
nodeLabel={(node) => `@${node["id"]}`}
51-
nodeRelSize={1}
51+
nodeRelSize={2}
5252

5353
//dagMode="td"
5454
//dagLevelDistance={300}
55-
linkColor={() => 'rgba(255,255,255,0.2)'}
55+
linkColor={() => 'rgba(255,255,255,0.2)'} // todo: source opinion color
5656
linkDirectionalParticles={2}
5757
linkDirectionalParticleWidth={2}
5858
d3VelocityDecay={0.3}

src/_App/BotAnalysis/Networks/Graph3.js

Lines changed: 0 additions & 133 deletions
This file was deleted.

src/_App/BotAnalysis/Networks/Section.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Card from 'react-bootstrap/Card'
88

99
import TreeGraph from "./Graph1"
1010
import NetworkGraph from "./Graph2"
11-
import NewGraph from "./Graph3"
11+
//import NewGraph from "./Graph3"
1212

1313
export default function BotNetworks() {
1414
return (
@@ -17,11 +17,6 @@ export default function BotNetworks() {
1717
<Card.Body>
1818
<Card.Title><h3>Bot Networks</h3></Card.Title>
1919

20-
<Card.Text>
21-
Bot Community Networks (tree view):
22-
</Card.Text>
23-
<NewGraph/>
24-
2520
<Card.Text>
2621
Bot Community Networks:
2722
</Card.Text>

0 commit comments

Comments
 (0)