Skip to content

Add glyph for Frank elements and implemented in Editor" functionality#467

Open
stijnpotters1 wants to merge 1 commit intomasterfrom
feat/add-highlights
Open

Add glyph for Frank elements and implemented in Editor" functionality#467
stijnpotters1 wants to merge 1 commit intomasterfrom
feat/add-highlights

Conversation

@stijnpotters1
Copy link
Copy Markdown
Contributor

Added glyph and when going from studio to editor the element is highlighted
image
When from editor to studio the element is centered and selected
image

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@philipsens
Copy link
Copy Markdown
Member

:D Looks nice!

return 1
}

export function findElementInXml(xml: string, subtype: string, name?: string): number | null {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering, since I haven't always been reviewing. How is the parsing of the XML done when generating the nodes? Is done once, or let's say, on every update? The latter was true for the old frank-flow. I don't think that was ideal, but since we did that anyway, I would save the location of each parsed pipe, so when I wend to highlight it, I would already know the location. Would something like that be possible here too? Or is this needed because there is no extra parse taking place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to highlight the pipe from within the editor Add an option to highlight the selected node (listener / pipe) in the code editor

2 participants