Liking cljdoc? Tell your friends :D

clojurewerkz.archimedes.vertex


all-connected-verticesclj

(all-connected-vertices v & labels)

Returns vertices connected to this vertex with the given labels

Returns vertices connected to this vertex with the given labels
sourceraw docstring

all-edges-ofclj

(all-edges-of v & labels)

Returns edges that this vertex is part of, with given labels

Returns edges that this vertex is part of, with given labels
sourceraw docstring

assoc!clj

(assoc! elem & kvs)
source

clear!clj

(clear! elem)
source

connected-in-verticesclj

(connected-in-vertices v & labels)

Returns vertices connected to this vertex by an inbound edge with the given labels

Returns vertices connected to this vertex by an inbound edge with the given labels
sourceraw docstring

connected-out-verticesclj

(connected-out-vertices v & labels)

Returns vertices connected to this vertex by an outbound edge with the given labels

Returns vertices connected to this vertex by an outbound edge with the given labels
sourceraw docstring

connected-vertices-ofclj

(connected-vertices-of v direction & labels)

Returns vertices connected to this vertex with a certain direction by the given labels

Returns vertices connected to this vertex with a certain direction by the given labels
sourceraw docstring

create!clj

(create! g)
(create! g m)

Create a vertex, optionally with the given property map.

Create a vertex, optionally with the given property map.
sourceraw docstring

create-with-id!clj

(create-with-id! g id)
(create-with-id! g id m)

Create a vertex, optionally with the given property map.

Create a vertex, optionally with the given property map.
sourceraw docstring

dissoc!clj

(dissoc! elem & keys)
source

edges-ofclj

(edges-of v direction & labels)

Returns edges that this vertex is part of with direction and with given labels

Returns edges that this vertex is part of with direction and with given labels
sourceraw docstring

find-by-idclj

(find-by-id g & ids)

Retrieves nodes by id from the given graph.

Retrieves nodes by id from the given graph.
sourceraw docstring

find-by-kvclj

(find-by-kv g k v)

Given a key and a value, returns the set of all vertices that sastify the pair.

Given a key and a value, returns the set of all vertices that
sastify the pair.
sourceraw docstring

getclj

(get elem key)
(get elem key not-found)
source

get-all-verticesclj

(get-all-vertices g)

Returns all vertices.

Returns all vertices.
sourceraw docstring

id-ofclj

(id-of elem)
source

incoming-edges-ofclj

(incoming-edges-of v & labels)

Returns incoming (inbound) edges that this vertex is part of, with given labels

Returns incoming (inbound) edges that this vertex is part of, with given labels
sourceraw docstring

keysclj

(keys elem)
source

merge!clj

(merge! elem & maps)
source

outgoing-edges-ofclj

(outgoing-edges-of v & labels)

Returns outgoing (outbound) edges that this vertex is part of, with given labels

Returns outgoing (outbound) edges that this vertex is part of, with given labels
sourceraw docstring

refreshclj

(refresh g vertex)

Gets a vertex back from the database and refreshes it to be usable again.

Gets a vertex back from the database and refreshes it to be usable again.
sourceraw docstring

remove!clj

(remove! g vertex)

Remove a vertex from the given graph.

Remove a vertex from the given graph.
sourceraw docstring

to-mapclj

(to-map vertex)

Returns a persistent map representing the vertex.

Returns a persistent map representing the vertex.
sourceraw docstring

unique-upsert!clj

(unique-upsert! & args)

Like upsert!, but throws an error when more than one element is returned.

Like upsert!, but throws an error when more than one element is returned.
sourceraw docstring

unique-upsert-with-id!clj

(unique-upsert-with-id! & args)

Like upsert!, but throws an error when more than one element is returned.

Like upsert!, but throws an error when more than one element is returned.
sourceraw docstring

update!clj

(update! elem key f & args)
source

upsert!clj

(upsert! g k m)

Given a key and a property map, upsert! either creates a new node with that property map or updates all nodes with the given key value pair to have the new properties specifiied by the map. Always returns the set of vertices that were just update or created.

Given a key and a property map, upsert! either creates a new node
with that property map or updates all nodes with the given key
value pair to have the new properties specifiied by the map. Always
returns the set of vertices that were just update or created.
sourceraw docstring

upsert-with-id!clj

(upsert-with-id! g id k m)

Given a key and a property map, upsert! either creates a new node with that property map or updates all nodes with the given key value pair to have the new properties specifiied by the map. Always returns the set of vertices that were just update or created.

Given a key and a property map, upsert! either creates a new node
with that property map or updates all nodes with the given key
value pair to have the new properties specifiied by the map. Always
returns the set of vertices that were just update or created.
sourceraw docstring

valsclj

(vals elem)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close