diff --git a/src/app/credExplorer/pagerankTable.js b/src/app/credExplorer/pagerankTable.js index fb60f2e..37e4b18 100644 --- a/src/app/credExplorer/pagerankTable.js +++ b/src/app/credExplorer/pagerankTable.js @@ -5,6 +5,7 @@ import stringify from "json-stable-stringify"; import {Graph} from "../../core/graph"; import type {Address} from "../../core/address"; +import {AddressMap} from "../../core/address"; import {PLUGIN_NAME as GITHUB_PLUGIN_NAME} from "../../plugins/github/pluginName"; import {GIT_PLUGIN_NAME} from "../../plugins/git/types"; import {nodeDescription as githubNodeDescription} from "../../plugins/github/render"; @@ -137,6 +138,7 @@ export class PagerankTable extends React.Component { {nodesByScore.map((node) => ( , +pagerankResult: PagerankResult, + +depth: number, |}; class RecursiveTable extends React.Component { @@ -163,14 +166,14 @@ class RecursiveTable extends React.Component { } render() { - const {address, graph, pagerankResult} = this.props; + const {address, graph, pagerankResult, depth} = this.props; const {expanded} = this.state; const score = pagerankResult.get(address).probability; - return ( + return [