Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
Frontend V2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GraphPolaris
Frontend V2
Merge requests
!67
feat(qb): auto focus logic input fields
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat(qb): auto focus logic input fields
DEV-120
into
main
Overview
1
Commits
1
Pipelines
1
Changes
4
Merged
Leonardo Christino
requested to merge
DEV-120
into
main
1 year ago
Overview
1
Commits
1
Pipelines
1
Changes
4
Expand
solves #DEV-120
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
3a35d1f9
1 commit,
1 year ago
4 files
+
236
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
libs/shared/lib/graph-layout/types.ts
0 → 100644
+
35
−
0
Options
import
{
Cytoscape
,
CytoscapeProvider
}
from
'
./cytoscape-layouts
'
;
import
{
Graphology
,
GraphologyProvider
}
from
'
./graphology-layouts
'
;
export
type
GraphologyLayoutAlgorithms
=
`Graphology_circular`
|
`Graphology_random`
|
`Graphology_noverlap`
|
`Graphology_forceAtlas2`
;
export
type
CytoscapeLayoutAlgorithms
=
|
'
Cytoscape_klay
'
|
'
Cytoscape_dagre
'
|
'
Cytoscape_elk
'
|
'
Cytoscape_fcose
'
|
'
Cytoscape_cose-bilkent
'
|
'
Cytoscape_cise
'
;
export
type
AllLayoutAlgorithms
=
GraphologyLayoutAlgorithms
|
CytoscapeLayoutAlgorithms
;
export
type
Providers
=
GraphologyProvider
|
CytoscapeProvider
;
export
type
LayoutAlgorithm
<
Provider
extends
Providers
>
=
`
${
Provider
}
_
${
string
}
`
;
export
type
AlgorithmToLayoutProvider
<
Algorithm
extends
AllLayoutAlgorithms
>
=
Algorithm
extends
GraphologyLayoutAlgorithms
?
Graphology
:
Algorithm
extends
CytoscapeLayoutAlgorithms
?
Cytoscape
:
Cytoscape
|
Graphology
;
export
enum
Layouts
{
KLAY
=
'
Cytoscape_klay
'
,
DAGRE
=
'
Cytoscape_dagre
'
,
ELK
=
'
Cytoscape_elk
'
,
FCOSE
=
'
Cytoscape_fcose
'
,
COSE_BILKENT
=
'
Cytoscape_cose-bilkent
'
,
CISE
=
'
Cytoscape_cise
'
,
RANDOM
=
'
Graphology_random
'
,
CIRCULAR
=
'
Graphology_circular
'
,
NOVERLAP
=
'
Graphology_noverlap
'
,
FORCEATLAS2
=
'
Graphology_forceAtlas2
'
,
}
Loading