Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for canvases #6

Open
SakuraIsayeki opened this issue Dec 6, 2022 · 0 comments
Open

Support for canvases #6

SakuraIsayeki opened this issue Dec 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@SakuraIsayeki
Copy link
Member

Context

Starting from v1.1, Obsidian is releasing a Canvas feature.

Here is a preview of the feature, with sample elements from the SocialGuard vault :

Image

A preview of the .canvas file reveals this JSON syntax :

{
    "nodes": [
        {
            "id": "6e9325b8d75b7110",
            "x": 120,
            "y": -460,
            "width": 400,
            "height": 500,
            "color": "124, 77, 255",
            "type": "file",
            "file": "Concepts/Emitter.md"
        },
        {
            "id": "8570b6b21fa4c1c0",
            "x": -400,
            "y": -460,
            "width": 400,
            "height": 500,
            "color": "",
            "type": "file",
            "file": "Concepts/Entry.md"
        },
        {
            "id": "c990621969033edb",
            "x": -120,
            "y": 160,
            "width": 360,
            "height": 100,
            "color": "0, 184, 212",
            "type": "text",
            "text": "This is sample text with links to both cards above."
        }
    ],
    "edges": [
        {
            "id": "773c0f6b99e52f39",
            "fromNode": "6e9325b8d75b7110",
            "fromSide": "left",
            "toNode": "8570b6b21fa4c1c0",
            "toSide": "right",
            "color": "255, 214, 0",
            "label": ""
        },
        {
            "id": "66b5420eac1b0c44",
            "fromNode": "c990621969033edb",
            "fromSide": "left",
            "toNode": "8570b6b21fa4c1c0",
            "toSide": "bottom",
            "color": "",
            "label": ""
        },
        {
            "id": "90f32a0f7543f592",
            "fromNode": "c990621969033edb",
            "fromSide": "right",
            "toNode": "6e9325b8d75b7110",
            "toSide": "bottom",
            "color": "255, 23, 68",
            "label": ""
        }
    ]
}

Problem

No support of Canvases exist within Molten Obsidian.
As such, and depending on the needs, development for supporting such a feature should be considered for the Blazor package.

@SakuraIsayeki SakuraIsayeki added the enhancement New feature or request label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant