Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
|
||||
http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
|
||||
<key id="domain" for="node" attr.name="domain" attr.type="string"/>
|
||||
<key id="external_id" for="node" attr.name="external_id" attr.type="string"/>
|
||||
<key id="weight" for="node" attr.name="weight" attr.type="double"/>
|
||||
<key id="timestamp" for="node" attr.name="timestamp" attr.type="string"/>
|
||||
<key id="edge_weight" for="edge" attr.name="weight" attr.type="double"/>
|
||||
<key id="edge_type" for="edge" attr.name="type" attr.type="string"/>
|
||||
<key id="edge_timestamp" for="edge" attr.name="timestamp" attr.type="string"/>
|
||||
<key id="cross_domain" for="edge" attr.name="cross_domain" attr.type="boolean"/>
|
||||
<graph id="discovery" edgedefault="undirected">
|
||||
<!-- 60 nodes in graph -->
|
||||
<!-- 1027 edges in graph -->
|
||||
<!-- Cross-domain edges: 655 -->
|
||||
</graph>
|
||||
</graphml>
|
||||
@@ -0,0 +1,39 @@
|
||||
# RuVector Discovery Export
|
||||
|
||||
Exported: 2026-01-03T19:19:17.360407287+00:00
|
||||
|
||||
## Files
|
||||
|
||||
- `graph.graphml` - Full graph in GraphML format (import into Gephi)
|
||||
- `graph.dot` - Full graph in DOT format (render with Graphviz)
|
||||
- `patterns.csv` - Discovered patterns
|
||||
- `patterns_evidence.csv` - Patterns with detailed evidence
|
||||
- `coherence.csv` - Coherence history over time
|
||||
|
||||
## Visualization
|
||||
|
||||
### Gephi (GraphML)
|
||||
1. Open Gephi
|
||||
2. File → Open → graph.graphml
|
||||
3. Layout → Force Atlas 2 or Fruchterman Reingold
|
||||
4. Color nodes by 'domain' attribute
|
||||
|
||||
### Graphviz (DOT)
|
||||
```bash
|
||||
# PNG output
|
||||
dot -Tpng graph.dot -o graph.png
|
||||
|
||||
# SVG output (vector, scalable)
|
||||
neato -Tsvg graph.dot -o graph.svg
|
||||
|
||||
# Interactive SVG
|
||||
fdp -Tsvg graph.dot -o graph_interactive.svg
|
||||
```
|
||||
|
||||
## Statistics
|
||||
|
||||
- Nodes: 60
|
||||
- Edges: 1027
|
||||
- Cross-domain edges: 655
|
||||
- Patterns detected: 0
|
||||
- Coherence snapshots: 0
|
||||
@@ -0,0 +1 @@
|
||||
timestamp,mincut_value,node_count,edge_count,avg_edge_weight,partition_size_a,partition_size_b,boundary_nodes_count
|
||||
|
@@ -0,0 +1,16 @@
|
||||
graph discovery {
|
||||
layout=neato;
|
||||
overlap=false;
|
||||
splines=true;
|
||||
|
||||
// Graph statistics: 60 nodes, 1027 edges
|
||||
// Cross-domain edges: 655
|
||||
|
||||
// Domain colors
|
||||
node [style=filled, fontname="Arial", fontsize=10];
|
||||
|
||||
// Finance domain: 15 nodes [color=lightgreen]
|
||||
// Climate domain: 20 nodes [color=lightblue]
|
||||
// Research domain: 25 nodes [color=lightyellow]
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
|
||||
http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
|
||||
<key id="domain" for="node" attr.name="domain" attr.type="string"/>
|
||||
<key id="external_id" for="node" attr.name="external_id" attr.type="string"/>
|
||||
<key id="weight" for="node" attr.name="weight" attr.type="double"/>
|
||||
<key id="timestamp" for="node" attr.name="timestamp" attr.type="string"/>
|
||||
<key id="edge_weight" for="edge" attr.name="weight" attr.type="double"/>
|
||||
<key id="edge_type" for="edge" attr.name="type" attr.type="string"/>
|
||||
<key id="edge_timestamp" for="edge" attr.name="timestamp" attr.type="string"/>
|
||||
<key id="cross_domain" for="edge" attr.name="cross_domain" attr.type="boolean"/>
|
||||
<graph id="discovery" edgedefault="undirected">
|
||||
<!-- 60 nodes in graph -->
|
||||
<!-- 1027 edges in graph -->
|
||||
<!-- Cross-domain edges: 655 -->
|
||||
</graph>
|
||||
</graphml>
|
||||
@@ -0,0 +1 @@
|
||||
id,pattern_type,confidence,p_value,effect_size,ci_lower,ci_upper,is_significant,detected_at,description,affected_nodes_count,evidence_count
|
||||
|
@@ -0,0 +1 @@
|
||||
pattern_id,pattern_type,evidence_type,evidence_value,evidence_description,detected_at
|
||||
|
16
examples/data/framework/discovery_exports/graph.dot
Normal file
16
examples/data/framework/discovery_exports/graph.dot
Normal file
@@ -0,0 +1,16 @@
|
||||
graph discovery {
|
||||
layout=neato;
|
||||
overlap=false;
|
||||
splines=true;
|
||||
|
||||
// Graph statistics: 60 nodes, 1027 edges
|
||||
// Cross-domain edges: 655
|
||||
|
||||
// Domain colors
|
||||
node [style=filled, fontname="Arial", fontsize=10];
|
||||
|
||||
// Research domain: 25 nodes [color=lightyellow]
|
||||
// Climate domain: 20 nodes [color=lightblue]
|
||||
// Finance domain: 15 nodes [color=lightgreen]
|
||||
|
||||
}
|
||||
19
examples/data/framework/discovery_exports/graph.graphml
Normal file
19
examples/data/framework/discovery_exports/graph.graphml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
|
||||
http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
|
||||
<key id="domain" for="node" attr.name="domain" attr.type="string"/>
|
||||
<key id="external_id" for="node" attr.name="external_id" attr.type="string"/>
|
||||
<key id="weight" for="node" attr.name="weight" attr.type="double"/>
|
||||
<key id="timestamp" for="node" attr.name="timestamp" attr.type="string"/>
|
||||
<key id="edge_weight" for="edge" attr.name="weight" attr.type="double"/>
|
||||
<key id="edge_type" for="edge" attr.name="type" attr.type="string"/>
|
||||
<key id="edge_timestamp" for="edge" attr.name="timestamp" attr.type="string"/>
|
||||
<key id="cross_domain" for="edge" attr.name="cross_domain" attr.type="boolean"/>
|
||||
<graph id="discovery" edgedefault="undirected">
|
||||
<!-- 60 nodes in graph -->
|
||||
<!-- 1027 edges in graph -->
|
||||
<!-- Cross-domain edges: 655 -->
|
||||
</graph>
|
||||
</graphml>
|
||||
Reference in New Issue
Block a user