switching networks works, established server functions
This commit is contained in:
@@ -3,9 +3,13 @@ import chalk from 'chalk';
|
||||
import path from 'path';
|
||||
import {nodeModels, edgeModels} from './model/import.js'
|
||||
import Edge from "./model/edge.js"
|
||||
import { fileURLToPath } from "url"
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
export default class Database {
|
||||
|
||||
PERSONAL_DATA_PATH = path.join(__dirname, '../../db/personal')
|
||||
|
||||
nodes = new Array(10000).fill(0);
|
||||
edges = new Array(10000).fill(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user