Skip to content

Commit 78de65a

Browse files
authored
Refactor Structure (only) (#1218)
1 parent c695311 commit 78de65a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+4135
-3816
lines changed

docs/src/blob_ref.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Depth = 3
1212
Modules = [DistributedFactorGraphs]
1313
1414
Pages = [
15-
"DataBlobs/entities/BlobEntry.jl",
16-
"DataBlobs/entities/BlobStores.jl",
15+
"entities/Blobentry.jl",
16+
"entities/Blobstore.jl",
1717
]
1818
1919
```
@@ -23,10 +23,11 @@ Pages = [
2323
Modules = [DistributedFactorGraphs]
2424
2525
Pages = [
26-
"DataBlobs/services/BlobEntry.jl",
27-
"DataBlobs/services/BlobStores.jl",
28-
"DataBlobs/services/BlobPacking.jl",
29-
"DataBlobs/services/BlobWrappers.jl",
26+
"services/blobentry_ops.jl",
27+
"services/blobstore_ops.jl",
28+
"Serialization/BlobPacking.jl",
29+
"services/blob_save_load.jl",
30+
"Blobstores/Blobstores.jl",
3031
]
3132
3233
```

docs/src/func_ref.md

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,38 +23,66 @@ Modules = [DistributedFactorGraphs]
2323
Pages = ["entities/AbstractDFG.jl"]
2424
```
2525

26-
### Summary DFG
26+
### DFG Variable Nodes
2727

2828
```@autodocs
2929
Modules = [DistributedFactorGraphs]
30-
Pages = ["entities/AbstractDFGSummary.jl"]
30+
Pages = ["entities/Variable.jl"]
3131
```
3232

33-
### DFG Variable Nodes
33+
### DFG Factor Nodes
3434

3535
```@autodocs
3636
Modules = [DistributedFactorGraphs]
37-
Pages = ["entities/DFGVariable.jl"]
37+
Pages = ["entities/Factor.jl"]
3838
```
3939

40-
### DFG Factor Nodes
40+
### State
41+
42+
```@autodocs
43+
Modules = [DistributedFactorGraphs]
44+
Pages = ["entities/State.jl"]
45+
```
46+
47+
### Agent and Graph
48+
49+
```@autodocs
50+
Modules = [DistributedFactorGraphs]
51+
Pages = ["entities/Agent_and_Graph.jl"]
52+
```
53+
54+
### Tags
55+
56+
```@autodocs
57+
Modules = [DistributedFactorGraphs]
58+
Pages = ["entities/Tags.jl"]
59+
```
60+
61+
### Timestamp
62+
63+
```@autodocs
64+
Modules = [DistributedFactorGraphs]
65+
Pages = ["entities/Timestamp.jl"]
66+
```
67+
68+
### Equality
4169

4270
```@autodocs
4371
Modules = [DistributedFactorGraphs]
44-
Pages = ["entities/DFGFactor.jl"]
72+
Pages = ["entities/equality.jl"]
4573
```
4674

4775
### Error Types
4876
```@autodocs
4977
Modules = [DistributedFactorGraphs]
50-
Pages = ["errors.jl"]
78+
Pages = ["entities/Error.jl"]
5179
```
5280

5381
## DFG Plots [GraphMakie.jl]
5482

5583
```@autodocs
5684
Modules = [DistributedFactorGraphs]
57-
Pages = ["weakdeps_prototypes.jl"]
85+
Pages = ["extension_stubs.jl"]
5886
```
5987

6088
## Drivers
@@ -69,5 +97,5 @@ Modules = [GraphsDFGs]
6997

7098
```@autodocs
7199
Modules = [DistributedFactorGraphs]
72-
Pages = ["FileDFG.jl"]
100+
Pages = ["FileDFG/FileDFG.jl", "FileDFG/services/FileDFG.jl"]
73101
```

docs/src/services_ref.md

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,61 +18,75 @@ Pages = ["services/AbstractDFG.jl"]
1818

1919
Common Accessors to both variable and factor nodes
2020

21-
```@autodocs
22-
Modules = [DistributedFactorGraphs]
23-
Pages = ["services/CommonAccessors.jl"]
24-
```
25-
2621
## Common
2722
```@autodocs
2823
Modules = [DistributedFactorGraphs]
2924
Pages = [
3025
"services/list.jl",
31-
"services/find.jl",
32-
"services/Tags.jl",
26+
"services/discovery.jl",
27+
"services/tag_ops.jl",
3328
"entities/Bloblet.jl",
34-
"services/Bloblet.jl",
29+
"services/bloblet_ops.jl",
3530
]
3631
```
3732

3833
## DFG Variable Accessors CRUD and SET opperations
3934

4035
```@autodocs
4136
Modules = [DistributedFactorGraphs]
42-
Pages = ["services/DFGVariable.jl"]
37+
Pages = ["services/variable_ops.jl"]
4338
```
4439

4540
## DFG Factor Accessors CRUD and SET opperations
4641

4742
```@autodocs
4843
Modules = [DistributedFactorGraphs]
49-
Pages = ["services/DFGFactor.jl"]
44+
Pages = ["services/factor_ops.jl"]
5045
```
5146

52-
## Printing
47+
## State Operations
5348

5449
```@autodocs
5550
Modules = [DistributedFactorGraphs]
56-
Pages = ["services/CustomPrinting.jl"]
51+
Pages = ["services/state_ops.jl"]
5752
```
5853

59-
## Compare Utilities
54+
## Agent Operations
55+
56+
```@autodocs
57+
Modules = [DistributedFactorGraphs]
58+
Pages = ["services/agent_ops.jl"]
59+
```
60+
61+
## Graph Operations
62+
63+
```@autodocs
64+
Modules = [DistributedFactorGraphs]
65+
Pages = ["services/graph_ops.jl"]
66+
```
67+
68+
## Printing
6069

6170
```@autodocs
6271
Modules = [DistributedFactorGraphs]
63-
Pages = ["services/CompareUtils.jl"]
72+
Pages = ["services/print.jl"]
6473
```
6574

66-
## Common Functions
75+
## Compare Utilities
6776

6877
```@autodocs
6978
Modules = [DistributedFactorGraphs]
70-
Pages = ["src/Common.jl"]
79+
Pages = ["services/compare.jl"]
7180
```
7281

7382
## Serialization
7483

7584
```@autodocs
7685
Modules = [DistributedFactorGraphs]
77-
Pages = ["services/Serialization.jl"]
86+
Pages = [
87+
"Serialization/DFGStructStyles.jl",
88+
"Serialization/DistributionSerialization.jl",
89+
"Serialization/PackedSerialization.jl",
90+
"Serialization/StateSerialization.jl",
91+
]
7892
```

0 commit comments

Comments
 (0)