Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Nov 30, 2021
2 parents d7cb731 + fda6373 commit 006da16
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/MatrixView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ import {
MATRIX_VIEW,
TRAIL_ICON,
} from "./constants";
import {
getInNeighbours,
getOppDir,
getReflexiveClosure,
getSubInDirs,
} from "./graphUtils";
import { getOppDir, getReflexiveClosure, getSubInDirs } from "./graphUtils";
import type {
BCSettings,
Directions,
internalLinkObj,
SquareProps,
UserHier,
} from "./interfaces";
import type BCPlugin from "./main";
Expand Down Expand Up @@ -109,7 +105,11 @@ export default class MatrixView extends ItemView {
getOrder = (node: string) =>
Number.parseInt(this.plugin.mainG.getNodeAttribute(node, "order"));

getHierSquares(userHiers: UserHier[], currFile: TFile, settings: BCSettings) {
getHierSquares(
userHiers: UserHier[],
currFile: TFile,
settings: BCSettings
): SquareProps[][] {
const { plugin } = this;
const { mainG } = plugin;
if (!mainG) {
Expand Down

0 comments on commit 006da16

Please sign in to comment.