mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve graph https://github.com/siyuan-note/siyuan/issues/13040
This commit is contained in:
parent
83b932478e
commit
a48609755e
4 changed files with 10 additions and 8 deletions
|
|
@ -845,7 +845,7 @@ func buildFullLinks(condition string) (forwardlinks, backlinks []*Block) {
|
|||
func buildDefsAndRefs(condition string) (defBlocks []*Block) {
|
||||
defBlockMap := map[string]*Block{}
|
||||
refBlockMap := map[string]*Block{}
|
||||
defRefs := sql.DefRefs(condition)
|
||||
defRefs := sql.DefRefs(condition, Conf.Graph.MaxBlocks)
|
||||
|
||||
// 将 sql block 转为 block
|
||||
for _, row := range defRefs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue