Skip to content

adxsoft/buildlogseqtestgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Updated 5th Nov 2022 see Releases section below

buildlogseqtestgraph

Builds a test logseq graph with generated data and query testing capabilities including

Generated Graph

LogseqTestGraph.zip contains a fully generated Test Graph built using builtlogseqtestgraph.py

Usage

python3 builtlogseqtestgraph.py

Before you run buildlogseqtestgraph.py

At a minimum you will need to change the targetfolder address in builtlogseqtestgraph.py so that the builder knows where to build the generated graph

Advanced Customisation

Assuming you are comfortable with python, modify the generator settings in builtlogseqtestgraph.py as follows

  • targetfolder - the folder location where the graph is to be built

  • in PageGroupsToGenerate array add the following entry and change the values (not the keys) to your page generation requirements

    • { 'title': 'Test Pages', 'pageprefix': 'testpage', 'nopages': 20, 'namespace': '', },
  • in JournalsToGenerate array change the one and only entry to your date range, number of journals to build and the maximum gap in days that can occur

    • { 'fromdate': '2020_01_01', 'todate': '2023_12_31', 'nojournals': 50, 'maxincrementindays': 45, }

Releases

Version 0.1

About

Build a test logseq graph with generated data and query testing capabilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages