Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- class NodeAttributes ps where
- writeNodeAttributes :: ps -> Binder (Walk SideEffect VFoundNode VFoundNode)
- parseNodeAttributes :: PMap Multi GValue -> Parser ps
- class LinkAttributes ps where
- writeLinkAttributes :: ps -> Binder (Walk SideEffect EFinds EFinds)
- parseLinkAttributes :: PMap Single GValue -> Parser ps
- type EID = ElementID
- data VNode
- data VFoundNode
- data EFinds
Attributes classes
class NodeAttributes ps where Source #
Class of user-defined types for node attributes. Its content is stored in the NetSpider database.
writeNodeAttributes :: ps -> Binder (Walk SideEffect VFoundNode VFoundNode) Source #
Return Walk
to write the attributes to the VFoundNode
.
parseNodeAttributes :: PMap Multi GValue -> Parser ps Source #
Parse the vertex proprerties into the attributes.
Instances
NodeAttributes () Source # | No attributes. |
Defined in NetSpider.Graph.Internal writeNodeAttributes :: () -> Binder (Walk SideEffect VFoundNode VFoundNode) Source # parseNodeAttributes :: PMap Multi GValue -> Parser () Source # | |
(FromGraphSON v, ToJSON v, Foldable c, Traversable c, NonEmptyLike c) => NodeAttributes (PMap c v) Source # | Straightforward implementation. Since: 0.4.0.0 |
Defined in NetSpider.Graph.Internal writeNodeAttributes :: PMap c v -> Binder (Walk SideEffect VFoundNode VFoundNode) Source # parseNodeAttributes :: PMap Multi GValue -> Parser (PMap c v) Source # |
class LinkAttributes ps where Source #
Class of user-defined types for link attributes. Its content is stored in the NetSpider database.
writeLinkAttributes :: ps -> Binder (Walk SideEffect EFinds EFinds) Source #
parseLinkAttributes :: PMap Single GValue -> Parser ps Source #
Parse the edge proprerties into the attributes.
Instances
LinkAttributes () Source # | No attributes. |
Defined in NetSpider.Graph.Internal writeLinkAttributes :: () -> Binder (Walk SideEffect EFinds EFinds) Source # parseLinkAttributes :: PMap Single GValue -> Parser () Source # | |
(FromGraphSON v, ToJSON v, Foldable c, Traversable c, NonEmptyLike c) => LinkAttributes (PMap c v) Source # | Straightforward implementation. Since: 0.4.0.0 |
Defined in NetSpider.Graph.Internal |
Graph element types
The "node" vertex.
Instances
Eq VNode Source # | |
Show VNode Source # | |
FromGraphSON VNode Source # | |
Defined in NetSpider.Graph.Internal parseGraphSON :: GValue -> Parser VNode # | |
ElementData VNode Source # | |
Defined in NetSpider.Graph.Internal | |
Element VNode Source # | |
Defined in NetSpider.Graph.Internal type ElementProperty VNode :: Type -> Type # type ElementPropertyContainer VNode :: Type -> Type # | |
Vertex VNode Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementPropertyContainer VNode Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementProperty VNode Source # | |
Defined in NetSpider.Graph.Internal |
data VFoundNode Source #
The "found_node" vertex.
Instances
Eq VFoundNode Source # | |
Defined in NetSpider.Graph.Internal (==) :: VFoundNode -> VFoundNode -> Bool # (/=) :: VFoundNode -> VFoundNode -> Bool # | |
Show VFoundNode Source # | |
Defined in NetSpider.Graph.Internal showsPrec :: Int -> VFoundNode -> ShowS # show :: VFoundNode -> String # showList :: [VFoundNode] -> ShowS # | |
FromGraphSON VFoundNode Source # | |
Defined in NetSpider.Graph.Internal parseGraphSON :: GValue -> Parser VFoundNode # | |
ElementData VFoundNode Source # | |
Defined in NetSpider.Graph.Internal elementId :: VFoundNode -> ElementID VFoundNode # elementLabel :: VFoundNode -> Text # | |
Element VFoundNode Source # | |
Defined in NetSpider.Graph.Internal type ElementProperty VFoundNode :: Type -> Type # type ElementPropertyContainer VFoundNode :: Type -> Type # | |
Vertex VFoundNode Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementPropertyContainer VFoundNode Source # | |
type ElementProperty VFoundNode Source # | |
Defined in NetSpider.Graph.Internal |
"finds" edge.
Instances
Eq EFinds Source # | |
Show EFinds Source # | |
FromGraphSON EFinds Source # | |
Defined in NetSpider.Graph.Internal parseGraphSON :: GValue -> Parser EFinds # | |
ElementData EFinds Source # | |
Defined in NetSpider.Graph.Internal | |
Element EFinds Source # | |
Defined in NetSpider.Graph.Internal type ElementProperty EFinds :: Type -> Type # type ElementPropertyContainer EFinds :: Type -> Type # | |
Edge EFinds Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementPropertyContainer EFinds Source # | |
Defined in NetSpider.Graph.Internal | |
type ElementProperty EFinds Source # | |
Defined in NetSpider.Graph.Internal |