pinakes-ui: add graph view, backlinks panel, and link extraction
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ibf40b009f5d18d16fc115b349b1f681d6a6a6964
This commit is contained in:
parent
0f9c1383a9
commit
3e1e8dea26
5 changed files with 103 additions and 43 deletions
|
|
@ -1168,7 +1168,11 @@ impl ApiClient {
|
|||
}
|
||||
|
||||
/// Get graph data for visualization.
|
||||
pub async fn get_graph(&self, center_id: Option<&str>, depth: Option<u32>) -> Result<GraphResponse> {
|
||||
pub async fn get_graph(
|
||||
&self,
|
||||
center_id: Option<&str>,
|
||||
depth: Option<u32>,
|
||||
) -> Result<GraphResponse> {
|
||||
let mut url = self.url("/notes/graph");
|
||||
let mut query_parts = Vec::new();
|
||||
if let Some(center) = center_id {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue