Installation instructions
FSharp
First of all, a working installation of F# is required. Head over to fsharp.org for detailed installation instructions for your OS
Gephi
The following steps are necessary to stream graph data from F# interactive to gephi:
-
Install Java and JDK
- Alternatively, if you want to use a jdk with a permissive license you can also use OpenJDK.
-
Install Gephi
-
If you use OpenJDK, you have to ensure gephi knows its installation location:
- go to
C:\Program Files\Gephi-0.9.2\etc\gephi.conf
- uncomment the following line:
jdkhome="path/to/jdk"
- replace the path with your openJDK installation path (usually
C:\Program Files\AdoptOpenJDK\jdk-8.0.212.03-hotspot
)
- go to
-
If you use OpenJDK, you have to ensure gephi knows its installation location:
- Install Graph streaming plugin in gephi:
- Enable the master server (default settings:)
Streamer environment setup
If you want to use another connection than the default connection, you can use the Streamer.setEnvironment
function to do so:
1:
|
|
|
1: 2: 3: 4: 5: |
|
1:
|
|
Which will change the connection string to your liking:
|
namespace FSharpGephiStreamer
val a : string
val b : int
val c : string
val usrConfig : string
val sprintf : format:Printf.StringFormat<'T> -> 'T
val currentConfig : string
module Streamer
from FSharpGephiStreamer
from FSharpGephiStreamer
val getEnvirmonment : unit -> string
val yourIp : string
val yourPort : int
val yourWorkspace : string
val setEnvirmonment : ip:string -> port:int -> workspace:string -> unit