gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.Core.Viz.Graph.Tools

Description

 
Synopsis

Documentation

data PartitionMethod #

Constructors

Spinglass 
Confluence 
Infomap 

Instances

Instances details
Arbitrary PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

FromJSON PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

ToJSON PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Bounded PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Enum PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Generic PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Associated Types

type Rep PartitionMethod :: Type -> Type #

Show PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Eq PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Ord PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

ToSchema PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

type Rep PartitionMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

type Rep PartitionMethod = D1 ('MetaData "PartitionMethod" "Gargantext.Core.Viz.Graph.Tools" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Spinglass" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Confluence" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Infomap" 'PrefixI 'False) (U1 :: Type -> Type)))

data BridgenessMethod #

Instances

Instances details
Arbitrary BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

FromJSON BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

ToJSON BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Bounded BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Enum BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Generic BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Associated Types

type Rep BridgenessMethod :: Type -> Type #

Show BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Eq BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

Ord BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

ToSchema BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

type Rep BridgenessMethod # 
Instance details

Defined in Gargantext.Core.Viz.Graph.Tools

type Rep BridgenessMethod = D1 ('MetaData "BridgenessMethod" "Gargantext.Core.Viz.Graph.Tools" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "BridgenessMethod_Basic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BridgenessMethod_Advanced" 'PrefixI 'False) (U1 :: Type -> Type))

type Reverse = Bool #

type Occurrences = Int #

From data to Graph

data Layout #

Constructors

KamadaKawai 
ACP 
ForceAtlas 

setCoord' :: (Int -> (Double, Double)) -> (Int, Node) -> Node #

setCoord :: Ord a => Layout -> [(a, Int)] -> Map (Int, Int) Double -> (Int, Node) -> Node #

ACP

getCoord :: Ord a => Layout -> [(a, Int)] -> Map (Int, Int) Double -> Int -> (Double, Double) #

layout :: Map (Int, Int) Double -> Int -> Gen -> (Double, Double) #

KamadaKawai Layout TODO TEST: check labels, nodeId and coordinates