Python Module Index
- -- o | ||
- |
- orgroamtools | - |
- |
- orgroamtools.data | - |
diff --git a/_sources/index.rst.txt b/_sources/index.rst.txt index 78c35aa..9738b62 100644 --- a/_sources/index.rst.txt +++ b/_sources/index.rst.txt @@ -6,12 +6,15 @@ Welcome to orgroamtools's documentation! ======================================== +.. automodule::orgroamtools.data + :members: + + .. toctree:: :maxdepth: 2 :caption: Contents: modules - orgroamtools Indices and tables diff --git a/genindex.html b/genindex.html index 7521f1e..53e2e38 100644 --- a/genindex.html +++ b/genindex.html @@ -44,7 +44,6 @@
@@ -74,216 +73,8 @@- | - |
- | - |
- |
- | - |
- |
- | - |
- |
- |
|
-
- | - |
|
-
|
-
- | - |
- |
- | - |
RoamGraph
RoamGraph.db_path
RoamGraph._id_title_map
RoamGraph._graph
RoamGraph._node_index
RoamGraph._orphans
RoamGraph._is_connected
RoamGraph._duplicate_titles
RoamGraph._contains_dup_titles
RoamGraph.IDs
RoamGraph.backlink_index
RoamGraph.file_index
RoamGraph.filter_tags()
RoamGraph.fnames
RoamGraph.graph
RoamGraph.id_title_map
RoamGraph.init_empty()
RoamGraph.links
RoamGraph.misc_links
RoamGraph.node()
RoamGraph.node_id()
RoamGraph.node_index
RoamGraph.node_links()
RoamGraph.node_title()
RoamGraph.nodes
RoamGraph.remove_orphans()
RoamGraph.size
RoamGraph.titles
RoamNode
-RoamGraph
RoamGraph.db_path
RoamGraph._id_title_map
RoamGraph._graph
RoamGraph._node_index
RoamGraph._orphans
RoamGraph._is_connected
RoamGraph._duplicate_titles
RoamGraph._contains_dup_titles
RoamGraph.IDs
RoamGraph.backlink_index
RoamGraph.file_index
RoamGraph.filter_tags()
RoamGraph.fnames
RoamGraph.graph
RoamGraph.id_title_map
RoamGraph.init_empty()
RoamGraph.links
RoamGraph.misc_links
RoamGraph.node()
RoamGraph.node_id()
RoamGraph.node_index
RoamGraph.node_links()
RoamGraph.node_title()
RoamGraph.nodes
RoamGraph.remove_orphans()
RoamGraph.size
RoamGraph.titles
RoamNode
-Bases: object
Store information of org-roam
graph.
By default, the nodes in the _node_index are ordered ascending on
-the node IDs. In the documentation, the words “collection”, “network”,
-“graph”, all mean the same thing: the graph with nodes the org-roam
nodes
-and edges determined by backlinks in the org-roam
collection.
Path to org-roam database connected to graph
-str
-Map with keys the id of nodes and values the titles of the corresponding nodes
-dict[str,str]
-networkx
graph representation of the collection
nx.MultiDiGraph
-Map with keys the ID of nodes and values the RoamNode
object that corresponds
dict[str, RoamNode]
-List of orphans in network. An orphan node is one with no links connecting it to any -other node
-list[RoamNode]
-Tracks if network is connected (i.e. has no orphans)
-bool
-List of duplicated titles in network, used for warning user
-list[str]
-Whether the collection has duplicated titles
-bool
-Return list of IDs present in network
-list of IDs in network
-list[str]
-Examples
-FIXME: Add docs.
-Return index for node backlinks of the collection
-When a node in the collection has a reference to another node in the -collection, it is said to have a backlink to that node. These backlinks -provide the main nonhierarchical structure of the collection, and compactly -express relations of different nodes to each other.
-dict with keys the IDs of nodes and values the list of backlinks -in the node
-dict[str, list[str]]
-Examples
-FIXME: Add docs.
-Return index of filenames of collection
-dict with keys the IDs of nodes and values the filename of the file -containing that node
-dict[str, str]
-Examples
-FIXME: Add docs.
-Filter network by collection of tags
-tags (Iterable[str]) – Tags to filter by
exclude (bool) – To exclude or not
Filtered collection (as a copy)
-Examples
-FIXME: Add docs.
-Return list of filenames in network
-base (bool) – get just basename of file
-list of filenames in network
-list[str]
-Examples
-FIXME: Add docs.
-Return networkx graph representation of collection
-An org-roam collection naturally forms the structure of a -multi directed graph: a graph with direction-sensitive edges -allowing multiple edges between any two nodes.
-Multi directed graph representation of the collection
-nx.MultiDiGraph
-Examples
-FIXME: Add docs.
-Return dictionary of how the network maps IDs to titles
-dict with keys node IDs and values the corresponding title of the -node
-dic[str, str]
-Examples
-FIXME: Add docs.
-Initialize empty RoamNode object
-RoamNode object with default fields initialized
-Return dict of node IDs and their backlinks
-dict with keys IDs of nodes and values the list of backlinks in that -node
-dict[str, list[str]]
-Examples
-FIXME: Add docs.
-Return list of lists of miscellaneous links
-dict with keys node IDs and values the list of miscellaneous IDs for -corresponding node
-dict[str, list[str]]
-Examples
-FIXME: Add docs.
-Return node object
-Internally a node is of class orgroamtools.data.RoamNode, which stores -basic information about a node like ID, title, filename, and its backlinks
-identifier (str) – Identifier for node. Can be title or ID
-RoamNode object of node
-AttributeError – Raised if node cannot be found
-Return ID of node
-org-roam uses org-mode’s internal :ID: property creation to uniquely identify nodes -in the collection.
-identifier (str) – Title of node
-ID of node
-str
-AttributeError – Raised if no node matches the provided title
-Return index of nodes
-The node_index is hashed by node ID, since this is the only -value guaranteed to be unique to each org-roam node across -various configurations.
-dict with keys the IDs of nodes and values the RoamNode object -of the node with that ID
-dict[str, RoamNode]
-Return links for a particular node
-A node’s links is the collection of links made in the body of the node desired. -By convention, a node will always refer to itself
-identifier (str) – Identifier for node. Can be title or ID
-List of IDs of nodes the provided node refers to
-list[str]
-AttributeError – Raised if identifier cannot be found in the collection
-Return title of node
-The title of a node is the name given to the note file. -If your org-roam node is its own file, this is the #+title: property. -If you org-roam node is a heading, this is the heading title
-identifier (str) – ID of node
-Title of node
-str
-AttributeError – Raised if ID not be found in collection
-Return list of nodes in network
-list of nodes in network
-list[RoamNode]
-Examples
-FIXME: Add docs.
-Remove orphans from network
-This method returns a new network that has orphans removed.
-Connected subcollection of self
-Examples
-FIXME: Add docs.
-Return size of collection
-Tuple (num nodes , num links)
-Return list of titles present in network
-list of titles of nodes in network
-list[str]
-Examples
-FIXME: Add docs.
-Bases: object
Store relevant org-roam node information
-A node is an atomic note known to the org-roam database. -It is uniquely determined by an ID generated at the time of creation, but -has other identifiers and information that a user might want to know about.
-Filename of org-roam node
-str
-Title of org-roam node
-str
-Unique org ID of org-roam node
-str
-Collection of tags of org-roam node
-set[str]
-List of backlinks in org-roam node
-list[str]
-List of miscellaneous links that are not links to other nodes
-list[OrgLink]
-- o | ||
- |
- orgroamtools | - |
- |
- orgroamtools.data | - |