VB.NET Force directed graph
with { +GPU, +DirectX, +GPU GUI Example of buttons}
A Simple but also quite powerful and Beautiful Force directed graph made with Love for an upcoming project of mine and for everyone out there, that needs some help over \”extreme\” graph visualization in Visual Basic […]
+
Features
- Uses Cudafy.NET for GPGPU calculation of forces.
- GUI like Interactions Using DirectX for Drawing Stuffs.
- CPU Parallel algorithms for the rest of Graph interactions.
- OpenCL CudafyTranslator for plenty of GPU Cards support.
- Runs on
NET Framework 4.0! (✓ on Windows XP simulation).
Important
Notes(at the Bottom of .md).- Code is really not at all, optimized! and RAW!
- Code will be \”recreated\” once i end with my other stuffs if not anyone❤︎ remake it until then.
- If you have Error Code.. S1023 when installing DirectX SDK, uninstall c++ 2010 redistributables.
- Check \”Remove integer overflow checks\” under Project Properties > Compile > Advanced Compile Options > Optimizations. Else CUDAfy code wont Compile.
Summary
| Papers – Manuals | Downloads | |
|---|---|---|
| Visual Studio | – | IDE |
| CUDAfy Net | Manual , 2 | Cudafy.NET |
| DirectX | Documentation | SDK |
| Gpaphs | Simple Algorithm | – |
Benchmark
Intel(R) HD Grapchics - Intel Core i7
(Fast smooth Update)-
- 3000 Nodes
-
- 3576 Edges (Connections)
-
- 33 Millis/Frame
(smooth Update)
-
- 5000 Nodes
-
- 5935 Edges
-
- 66 Millis/Frame
(Slow Update)
-
- 10.000 Nodes
-
- 11.921 edges (Connections)
-
- 200 Millis/Frame
Features I Wish For
Considering my knowledge at this moment [...]
-
Easy :
— Thickness Of Lines, Based on Connections or etc.
— Size Of Node, Based on Connections or etc.
— […] -
Medium:
— generally Low Level Grapchics
— Clustering algorithms
— Faster Algorithms -
Hard :
— 3D Graph visualization.
— Make it as a Form Control.
— Recreation of most of the controls using DirectX.
Searches Across Internet
| Intresting Papers | Intresting Sites | Graphs |
|---|---|---|
| Simple Algorithms for Network Visualization | VB Graphics Programming: Part 4 (Optimizations Checklist) | graphing with Graphviz |
| A Force Directed Placement Method | Direct3D For Dummiez (In VB6) written by: Matt Carpenter | wingraphviz |
| Force Directed Layout of Diagrams | OpenCL Tutorial | quickgraph |
| METHOD FOR FAST FORCE-DIRECTED LAYOUT OF LARGE SCALE-FREE NETWORK GRAPHS | General Purpose Computing on GPU in .NET World – Part 1 | 3D force-directed graph written in C# |
| Efficient, High-Quality Force-Directed Graph Drawing | General Purpose Computing on GPU in .NET World – Part 2 | HIVE PLOTS RATIONAL NETWORK VISUALIZATION |
| Visualizing solutions in network analysis with visual basic for applications | A Visual and Interactive Guide to the Basics of Neural Networks | sciBASIC |
| Exploiting GPUs for fast force-directed visualization of large-scale networks | Middle-square method | |
| Improved Force-Directed Method of Graph Layout Generation with Adaptive Step Length | k-Means Clustering using CUDAfy.NET | |
| Clustering and Community Detection in Directed Networks: A Survey | When processor is not enough | |
| Power Network Layout Generation using Force Directed Graph Technique | <VBFixedString(3)>Dim i As String | |
| Barnes–Hut simulation | Drawing with Direct3D, Part 1: Getting Started | |
| campy GP-GPU computing | OPENCL WRAPPERS |
Notes
Please Dont blame me for my ?ed ☝️ ?code :/ i had some difficult time, overcoming some things…so, i would say that, even if i had the whole summer quite free, i had not as much time, as i would want to have in order to focus on this part of my project, way much more[…] +really wanted to upload it, before the end of summer holidays; thats why i am uploading it now, even if it is way to weirdly written. With hope that a \”good samaritan\” will find it intresting and fulfill my wishes.
With Love to all of you out there, George.
VBForums Post
