Copyright | (c) CNRS 2017-Present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Gargantext.Core.Viz.Graph
Description
Documentation
Instances
Show TypeNode Source # | |
Generic TypeNode Source # | |
ToJSON TypeNode Source # | |
Defined in Gargantext.Core.Viz.Graph | |
FromJSON TypeNode Source # | |
ToSchema TypeNode Source # | |
Defined in Gargantext.Core.Viz.Graph Methods declareNamedSchema :: Proxy TypeNode -> Declare (Definitions Schema) NamedSchema # | |
type Rep TypeNode Source # | |
data Attributes Source #
Constructors
Attributes | |
Fields
|
Instances
Constructors
Node | |
Fields
|
Instances
Constructors
Edge | |
Fields
|
Instances
data LegendField Source #
Instances
data ListForGraph Source #
Constructors
ListForGraph | |
Fields
|
Instances
data GraphMetadata Source #
Constructors
GraphMetadata | |
Fields
|
Instances
Constructors
Graph | |
Fields
|
Instances
Show Graph Source # | |
Generic Graph Source # | |
Arbitrary Graph Source # | Intances for the mock |
ToJSON Graph Source # | |
Defined in Gargantext.Core.Viz.Graph | |
FromJSON Graph Source # | |
ToSchema Graph Source # | |
Defined in Gargantext.Core.Viz.Graph Methods declareNamedSchema :: Proxy Graph -> Declare (Definitions Schema) NamedSchema # | |
ToXml Graph Source # | |
Defined in Gargantext.Core.Viz.Graph.GEXF | |
type Rep Graph Source # | |
Defined in Gargantext.Core.Viz.Graph type Rep Graph = D1 ('MetaData "Graph" "Gargantext.Core.Viz.Graph" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Graph" 'PrefixI 'True) (S1 ('MetaSel ('Just "_graph_nodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Node]) :*: (S1 ('MetaSel ('Just "_graph_edges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Edge]) :*: S1 ('MetaSel ('Just "_graph_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe GraphMetadata))))) |
defaultGraph :: Graph Source #
data AttributesV3 Source #
Constructors
AttributesV3 | |
Instances
Show AttributesV3 Source # | |
Defined in Gargantext.Core.Viz.Graph Methods showsPrec :: Int -> AttributesV3 -> ShowS # show :: AttributesV3 -> String # showList :: [AttributesV3] -> ShowS # | |
Generic AttributesV3 Source # | |
Defined in Gargantext.Core.Viz.Graph Associated Types type Rep AttributesV3 :: Type -> Type # | |
ToJSON AttributesV3 Source # | |
Defined in Gargantext.Core.Viz.Graph Methods toJSON :: AttributesV3 -> Value # toEncoding :: AttributesV3 -> Encoding # toJSONList :: [AttributesV3] -> Value # toEncodingList :: [AttributesV3] -> Encoding # | |
FromJSON AttributesV3 Source # | |
Defined in Gargantext.Core.Viz.Graph | |
type Rep AttributesV3 Source # | |
Defined in Gargantext.Core.Viz.Graph type Rep AttributesV3 = D1 ('MetaData "AttributesV3" "Gargantext.Core.Viz.Graph" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "AttributesV3" 'PrefixI 'True) (S1 ('MetaSel ('Just "cl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
Instances
Show NodeV3 Source # | |
Generic NodeV3 Source # | |
ToJSON NodeV3 Source # | |
Defined in Gargantext.Core.Viz.Graph | |
FromJSON NodeV3 Source # | |
type Rep NodeV3 Source # | |
Defined in Gargantext.Core.Viz.Graph type Rep NodeV3 = D1 ('MetaData "NodeV3" "Gargantext.Core.Viz.Graph" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "NodeV3" 'PrefixI 'True) ((S1 ('MetaSel ('Just "no_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "no_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttributesV3)) :*: (S1 ('MetaSel ('Just "no_s") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "no_lb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
Instances
Show EdgeV3 Source # | |
Generic EdgeV3 Source # | |
ToJSON EdgeV3 Source # | |
Defined in Gargantext.Core.Viz.Graph | |
FromJSON EdgeV3 Source # | |
type Rep EdgeV3 Source # | |
Defined in Gargantext.Core.Viz.Graph type Rep EdgeV3 = D1 ('MetaData "EdgeV3" "Gargantext.Core.Viz.Graph" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "EdgeV3" 'PrefixI 'True) (S1 ('MetaSel ('Just "eo_s") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "eo_t") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "eo_w") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
Instances
Show GraphV3 Source # | |
Generic GraphV3 Source # | |
ToJSON GraphV3 Source # | |
Defined in Gargantext.Core.Viz.Graph | |
FromJSON GraphV3 Source # | |
type Rep GraphV3 Source # | |
Defined in Gargantext.Core.Viz.Graph type Rep GraphV3 = D1 ('MetaData "GraphV3" "Gargantext.Core.Viz.Graph" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "GraphV3" 'PrefixI 'True) (S1 ('MetaSel ('Just "go_links") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [EdgeV3]) :*: S1 ('MetaSel ('Just "go_nodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NodeV3]))) |
Instances
Show Camera Source # | |
Generic Camera Source # | |
ToJSON Camera Source # | |
Defined in Gargantext.Core.Viz.Graph | |
FromJSON Camera Source # | |
ToSchema Camera Source # | |
Defined in Gargantext.Core.Viz.Graph Methods declareNamedSchema :: Proxy Camera -> Declare (Definitions Schema) NamedSchema # | |
type Rep Camera Source # | |
Defined in Gargantext.Core.Viz.Graph type Rep Camera = D1 ('MetaData "Camera" "Gargantext.Core.Viz.Graph" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Camera" 'PrefixI 'True) (S1 ('MetaSel ('Just "_camera_ratio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "_camera_x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_camera_y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) |
data HyperdataGraph Source #
Constructors
HyperdataGraph | |
Fields
|
Instances
data HyperdataGraphAPI Source #
Constructors
HyperdataGraphAPI | |
Fields |
Instances
graphV3ToGraph :: GraphV3 -> Graph Source #
mergeGraphNgrams :: Graph -> Maybe (HashMap NgramsTerm NgramsRepoElement) -> Graph Source #