Updated 5th Nov 2022 see Releases section below
Builds a test logseq graph with generated data and query testing capabilities including
- random pages and blocks, journals, tasks, page tags, block tags, page properties, block properties and links
- advanced query examples
- embedded iframe which uses the online advanced query builder tool https://adxsoft.github.io/logseqadvancedquerybuilder
LogseqTestGraph.zip contains a fully generated Test Graph built using builtlogseqtestgraph.py
python3 builtlogseqtestgraph.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
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, }
Version 0.1
- original release Version 0.2
- bug fixes and compatibility with https://github.com/adxsoft/logseqadvancedquerybuilder v0.2
- added more page properties adn additional query examples using and and or with command arguments