@teambit/graph 1.0.316 → 1.0.318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/artifacts/__bit_junit.xml +1 -1
  2. package/artifacts/preview/teambit_component_graph-preview.js +1 -1
  3. package/artifacts/schema.json +281 -172
  4. package/dist/graph.graphql.js +3 -2
  5. package/dist/graph.graphql.js.map +1 -1
  6. package/dist/{preview-1719372071684.js → preview-1719544843434.js} +2 -2
  7. package/dist/ui/component-node/component-node.js +6 -7
  8. package/dist/ui/component-node/component-node.js.map +1 -1
  9. package/dist/ui/dependencies-compare/compare-node-model.d.ts +1 -1
  10. package/dist/ui/dependencies-compare/compare-node-model.js.map +1 -1
  11. package/dist/ui/dependencies-compare/dependency-compare-node.js +7 -4
  12. package/dist/ui/dependencies-compare/dependency-compare-node.js.map +1 -1
  13. package/dist/ui/dependencies-compare/diff-graph.js +4 -4
  14. package/dist/ui/dependencies-compare/diff-graph.js.map +1 -1
  15. package/dist/ui/dependencies-graph/calc-elements.js +2 -2
  16. package/dist/ui/dependencies-graph/calc-elements.js.map +1 -1
  17. package/dist/ui/dependencies-graph/dependencies-graph.d.ts +3 -2
  18. package/dist/ui/dependencies-graph/dependencies-graph.js +30 -12
  19. package/dist/ui/dependencies-graph/dependencies-graph.js.map +1 -1
  20. package/dist/ui/graph-page/graph-filters.d.ts +1 -0
  21. package/dist/ui/graph-page/graph-filters.js.map +1 -1
  22. package/dist/ui/graph-page/graph-page.js +18 -19
  23. package/dist/ui/graph-page/graph-page.js.map +1 -1
  24. package/dist/ui/graph-page/graph-page.module.scss +3 -1
  25. package/dist/ui/graph.section.js +3 -3
  26. package/dist/ui/graph.section.js.map +1 -1
  27. package/dist/ui/query/get-graph.query.d.ts +2 -1
  28. package/dist/ui/query/get-graph.query.js +15 -3
  29. package/dist/ui/query/get-graph.query.js.map +1 -1
  30. package/dist/ui/query/node-model.d.ts +3 -2
  31. package/dist/ui/query/node-model.js +3 -1
  32. package/dist/ui/query/node-model.js.map +1 -1
  33. package/dist/ui/query/use-graph-query.d.ts +2 -1
  34. package/dist/ui/query/use-graph-query.js +43 -14
  35. package/dist/ui/query/use-graph-query.js.map +1 -1
  36. package/dist/ui/query/use-graph.d.ts +2 -0
  37. package/package.json +13 -15
  38. package/ui/component-node/component-node.tsx +6 -5
  39. package/ui/dependencies-compare/compare-node-model.ts +1 -1
  40. package/ui/dependencies-compare/dependency-compare-node.tsx +4 -4
  41. package/ui/dependencies-compare/diff-graph.ts +5 -4
  42. package/ui/dependencies-graph/calc-elements.tsx +2 -2
  43. package/ui/dependencies-graph/dependencies-graph.tsx +29 -10
  44. package/ui/graph-page/graph-filters.tsx +1 -0
  45. package/ui/graph-page/graph-page.module.scss +3 -1
  46. package/ui/graph-page/graph-page.tsx +17 -15
  47. package/ui/graph.section.tsx +3 -3
  48. package/ui/query/get-graph.query.ts +15 -5
  49. package/ui/query/node-model.ts +5 -3
  50. package/ui/query/use-graph-query.ts +53 -11
@@ -566,7 +566,7 @@
566
566
  "_legacy": {
567
567
  "scope": "teambit.component",
568
568
  "name": "graph",
569
- "version": "1.0.316"
569
+ "version": "1.0.318"
570
570
  },
571
571
  "_scope": "teambit.component"
572
572
  }
@@ -1191,7 +1191,7 @@
1191
1191
  "__schema": "ReactSchema",
1192
1192
  "location": {
1193
1193
  "filePath": "ui/graph-page/graph-filters.tsx",
1194
- "line": 11,
1194
+ "line": 12,
1195
1195
  "character": 1
1196
1196
  },
1197
1197
  "signature": "function GraphFilters({ onChangeFilter, isFiltered, disable, ...rest }: GraphFiltersType): React.JSX.Element",
@@ -1200,7 +1200,7 @@
1200
1200
  "__schema": "ParameterSchema",
1201
1201
  "location": {
1202
1202
  "filePath": "ui/graph-page/graph-filters.tsx",
1203
- "line": 11,
1203
+ "line": 12,
1204
1204
  "character": 30
1205
1205
  },
1206
1206
  "name": "{ onChangeFilter, isFiltered, disable, ...rest }",
@@ -1208,7 +1208,7 @@
1208
1208
  "__schema": "TypeRefSchema",
1209
1209
  "location": {
1210
1210
  "filePath": "ui/graph-page/graph-filters.tsx",
1211
- "line": 11,
1211
+ "line": 12,
1212
1212
  "character": 80
1213
1213
  },
1214
1214
  "name": "GraphFiltersType",
@@ -1220,7 +1220,7 @@
1220
1220
  "__schema": "InferenceTypeSchema",
1221
1221
  "location": {
1222
1222
  "filePath": "ui/graph-page/graph-filters.tsx",
1223
- "line": 11,
1223
+ "line": 12,
1224
1224
  "character": 32
1225
1225
  },
1226
1226
  "name": "onChangeFilter",
@@ -1231,7 +1231,7 @@
1231
1231
  "__schema": "InferenceTypeSchema",
1232
1232
  "location": {
1233
1233
  "filePath": "ui/graph-page/graph-filters.tsx",
1234
- "line": 11,
1234
+ "line": 12,
1235
1235
  "character": 48
1236
1236
  },
1237
1237
  "name": "isFiltered",
@@ -1242,7 +1242,7 @@
1242
1242
  "__schema": "InferenceTypeSchema",
1243
1243
  "location": {
1244
1244
  "filePath": "ui/graph-page/graph-filters.tsx",
1245
- "line": 11,
1245
+ "line": 12,
1246
1246
  "character": 60
1247
1247
  },
1248
1248
  "name": "disable",
@@ -1253,11 +1253,11 @@
1253
1253
  "__schema": "InferenceTypeSchema",
1254
1254
  "location": {
1255
1255
  "filePath": "ui/graph-page/graph-filters.tsx",
1256
- "line": 11,
1256
+ "line": 12,
1257
1257
  "character": 72
1258
1258
  },
1259
1259
  "name": "rest",
1260
- "type": "{\n elevation?: ElevationHeight | undefined;\n roundness?: Roundness | undefined;\n defaultChecked?: boolean | undefined;\n defaultValue?: string | number | readonly string[] | undefined;\n ... 256 more ...;\n onTransitionEndCapture?: React.TransitionEventHandler<...> | undefined;\n}",
1260
+ "type": "{\n showMetadata?: boolean | undefined;\n elevation?: ElevationHeight | undefined;\n roundness?: Roundness | undefined;\n defaultChecked?: boolean | undefined;\n ... 257 more ...;\n onTransitionEndCapture?: React.TransitionEventHandler<...> | undefined;\n}",
1261
1261
  "isSpread": true
1262
1262
  }
1263
1263
  ],
@@ -1267,7 +1267,7 @@
1267
1267
  "__schema": "TypeRefSchema",
1268
1268
  "location": {
1269
1269
  "filePath": "ui/graph-page/graph-filters.tsx",
1270
- "line": 11,
1270
+ "line": 12,
1271
1271
  "character": 1
1272
1272
  },
1273
1273
  "name": "React.JSX.Element",
@@ -1631,14 +1631,14 @@
1631
1631
  "line": 6,
1632
1632
  "character": 3
1633
1633
  },
1634
- "signature": "(property) NodeModel.component: ComponentModel",
1634
+ "signature": "(property) NodeModel.component?: ComponentModel | undefined",
1635
1635
  "name": "component",
1636
1636
  "type": {
1637
1637
  "__schema": "TypeRefSchema",
1638
1638
  "location": {
1639
1639
  "filePath": "ui/query/node-model.ts",
1640
1640
  "line": 6,
1641
- "character": 3
1641
+ "character": 15
1642
1642
  },
1643
1643
  "name": "ComponentModel",
1644
1644
  "componentId": {
@@ -1646,13 +1646,37 @@
1646
1646
  "name": "component"
1647
1647
  }
1648
1648
  },
1649
+ "isOptional": true
1650
+ },
1651
+ {
1652
+ "__schema": "VariableLikeSchema",
1653
+ "location": {
1654
+ "filePath": "ui/query/node-model.ts",
1655
+ "line": 7,
1656
+ "character": 3
1657
+ },
1658
+ "signature": "(property) NodeModel.componentId: ComponentID",
1659
+ "name": "componentId",
1660
+ "type": {
1661
+ "__schema": "TypeRefSchema",
1662
+ "location": {
1663
+ "filePath": "ui/query/node-model.ts",
1664
+ "line": 7,
1665
+ "character": 3
1666
+ },
1667
+ "name": "ComponentID",
1668
+ "componentId": {
1669
+ "scope": "teambit.component",
1670
+ "name": "component"
1671
+ }
1672
+ },
1649
1673
  "isOptional": false
1650
1674
  },
1651
1675
  {
1652
1676
  "__schema": "FunctionLikeSchema",
1653
1677
  "location": {
1654
1678
  "filePath": "ui/query/node-model.ts",
1655
- "line": 8,
1679
+ "line": 9,
1656
1680
  "character": 3
1657
1681
  },
1658
1682
  "signature": "(method) NodeModel.from(rawNode: RawNode): NodeModel",
@@ -1662,7 +1686,7 @@
1662
1686
  "__schema": "ParameterSchema",
1663
1687
  "location": {
1664
1688
  "filePath": "ui/query/node-model.ts",
1665
- "line": 8,
1689
+ "line": 9,
1666
1690
  "character": 15
1667
1691
  },
1668
1692
  "name": "rawNode",
@@ -1670,7 +1694,7 @@
1670
1694
  "__schema": "TypeRefSchema",
1671
1695
  "location": {
1672
1696
  "filePath": "ui/query/node-model.ts",
1673
- "line": 8,
1697
+ "line": 9,
1674
1698
  "character": 24
1675
1699
  },
1676
1700
  "name": "RawNode",
@@ -1684,7 +1708,7 @@
1684
1708
  "__schema": "TypeRefSchema",
1685
1709
  "location": {
1686
1710
  "filePath": "ui/query/node-model.ts",
1687
- "line": 8,
1711
+ "line": 9,
1688
1712
  "character": 3
1689
1713
  },
1690
1714
  "name": "NodeModel"
@@ -1713,7 +1737,7 @@
1713
1737
  "line": 4,
1714
1738
  "character": 1
1715
1739
  },
1716
- "signature": "function useGraph(): {\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n}",
1740
+ "signature": "function useGraph(): {\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n idsLoading: boolean;\n graphLoading: boolean;\n}",
1717
1741
  "name": "useGraph",
1718
1742
  "params": [],
1719
1743
  "returnType": {
@@ -1723,7 +1747,7 @@
1723
1747
  "line": 4,
1724
1748
  "character": 1
1725
1749
  },
1726
- "type": "{\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n}"
1750
+ "type": "{\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n idsLoading: boolean;\n graphLoading: boolean;\n}"
1727
1751
  },
1728
1752
  "modifiers": [
1729
1753
  "export"
@@ -1742,28 +1766,17 @@
1742
1766
  "__schema": "FunctionLikeSchema",
1743
1767
  "location": {
1744
1768
  "filePath": "ui/query/use-graph-query.ts",
1745
- "line": 13,
1769
+ "line": 12,
1746
1770
  "character": 1
1747
1771
  },
1748
- "doc": {
1749
- "__schema": "DocSchema",
1750
- "location": {
1751
- "filePath": "ui/query/use-graph-query.ts",
1752
- "line": 12,
1753
- "character": 1
1754
- },
1755
- "raw": "/** provides dependencies graph data from graphQL */",
1756
- "comment": "provides dependencies graph data from graphQL",
1757
- "tags": []
1758
- },
1759
- "signature": "function useGraphQuery(componentId?: string[], filter?: string): {\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n}",
1772
+ "signature": "function useGraphQuery(componentId?: string[], filter?: string): {\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n idsLoading: boolean;\n graphLoading: boolean;\n}",
1760
1773
  "name": "useGraphQuery",
1761
1774
  "params": [
1762
1775
  {
1763
1776
  "__schema": "ParameterSchema",
1764
1777
  "location": {
1765
1778
  "filePath": "ui/query/use-graph-query.ts",
1766
- "line": 13,
1779
+ "line": 12,
1767
1780
  "character": 31
1768
1781
  },
1769
1782
  "name": "componentId",
@@ -1771,14 +1784,14 @@
1771
1784
  "__schema": "TypeArraySchema",
1772
1785
  "location": {
1773
1786
  "filePath": "ui/query/use-graph-query.ts",
1774
- "line": 13,
1787
+ "line": 12,
1775
1788
  "character": 45
1776
1789
  },
1777
1790
  "type": {
1778
1791
  "__schema": "KeywordTypeSchema",
1779
1792
  "location": {
1780
1793
  "filePath": "ui/query/use-graph-query.ts",
1781
- "line": 13,
1794
+ "line": 12,
1782
1795
  "character": 45
1783
1796
  },
1784
1797
  "name": "string"
@@ -1791,7 +1804,7 @@
1791
1804
  "__schema": "ParameterSchema",
1792
1805
  "location": {
1793
1806
  "filePath": "ui/query/use-graph-query.ts",
1794
- "line": 13,
1807
+ "line": 12,
1795
1808
  "character": 55
1796
1809
  },
1797
1810
  "name": "filter",
@@ -1799,7 +1812,7 @@
1799
1812
  "__schema": "KeywordTypeSchema",
1800
1813
  "location": {
1801
1814
  "filePath": "ui/query/use-graph-query.ts",
1802
- "line": 13,
1815
+ "line": 12,
1803
1816
  "character": 64
1804
1817
  },
1805
1818
  "name": "string"
@@ -1812,10 +1825,10 @@
1812
1825
  "__schema": "InferenceTypeSchema",
1813
1826
  "location": {
1814
1827
  "filePath": "ui/query/use-graph-query.ts",
1815
- "line": 13,
1828
+ "line": 12,
1816
1829
  "character": 1
1817
1830
  },
1818
- "type": "{\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n}"
1831
+ "type": "{\n graph: GraphModel<NodeModel, EdgeModel> | undefined;\n error: GraphQlError | undefined;\n loading: boolean;\n idsLoading: boolean;\n graphLoading: boolean;\n}"
1819
1832
  },
1820
1833
  "modifiers": [
1821
1834
  "export"
@@ -1952,7 +1965,7 @@
1952
1965
  "__schema": "TypeSchema",
1953
1966
  "location": {
1954
1967
  "filePath": "ui/query/get-graph.query.ts",
1955
- "line": 42,
1968
+ "line": 55,
1956
1969
  "character": 1
1957
1970
  },
1958
1971
  "signature": "type RawGraph = {\n nodes: RawNode[];\n edges: [];\n}",
@@ -1961,7 +1974,7 @@
1961
1974
  "__schema": "TypeLiteralSchema",
1962
1975
  "location": {
1963
1976
  "filePath": "ui/query/get-graph.query.ts",
1964
- "line": 42,
1977
+ "line": 55,
1965
1978
  "character": 24
1966
1979
  },
1967
1980
  "members": [
@@ -1969,7 +1982,7 @@
1969
1982
  "__schema": "VariableLikeSchema",
1970
1983
  "location": {
1971
1984
  "filePath": "ui/query/get-graph.query.ts",
1972
- "line": 43,
1985
+ "line": 56,
1973
1986
  "character": 3
1974
1987
  },
1975
1988
  "signature": "(property) nodes: RawNode[]",
@@ -1978,14 +1991,14 @@
1978
1991
  "__schema": "TypeArraySchema",
1979
1992
  "location": {
1980
1993
  "filePath": "ui/query/get-graph.query.ts",
1981
- "line": 43,
1994
+ "line": 56,
1982
1995
  "character": 10
1983
1996
  },
1984
1997
  "type": {
1985
1998
  "__schema": "TypeRefSchema",
1986
1999
  "location": {
1987
2000
  "filePath": "ui/query/get-graph.query.ts",
1988
- "line": 43,
2001
+ "line": 56,
1989
2002
  "character": 10
1990
2003
  },
1991
2004
  "name": "RawNode",
@@ -1998,7 +2011,7 @@
1998
2011
  "__schema": "VariableLikeSchema",
1999
2012
  "location": {
2000
2013
  "filePath": "ui/query/get-graph.query.ts",
2001
- "line": 44,
2014
+ "line": 57,
2002
2015
  "character": 3
2003
2016
  },
2004
2017
  "signature": "(property) edges: []",
@@ -2007,7 +2020,7 @@
2007
2020
  "__schema": "TupleTypeSchema",
2008
2021
  "location": {
2009
2022
  "filePath": "ui/query/get-graph.query.ts",
2010
- "line": 44,
2023
+ "line": 57,
2011
2024
  "character": 10
2012
2025
  },
2013
2026
  "elements": []
@@ -3048,7 +3061,7 @@
3048
3061
  "_legacy": {
3049
3062
  "scope": "teambit.component",
3050
3063
  "name": "graph",
3051
- "version": "1.0.316"
3064
+ "version": "1.0.318"
3052
3065
  },
3053
3066
  "_scope": "teambit.component"
3054
3067
  }
@@ -3563,7 +3576,7 @@
3563
3576
  "_legacy": {
3564
3577
  "scope": "teambit.component",
3565
3578
  "name": "graph",
3566
- "version": "1.0.316"
3579
+ "version": "1.0.318"
3567
3580
  },
3568
3581
  "_scope": "teambit.component"
3569
3582
  }
@@ -3688,7 +3701,7 @@
3688
3701
  "_legacy": {
3689
3702
  "scope": "teambit.component",
3690
3703
  "name": "graph",
3691
- "version": "1.0.316"
3704
+ "version": "1.0.318"
3692
3705
  },
3693
3706
  "_scope": "teambit.component"
3694
3707
  }
@@ -3777,7 +3790,7 @@
3777
3790
  "line": 25,
3778
3791
  "character": 3
3779
3792
  },
3780
- "signature": "(method) GraphUI.getDependenciesGraph(): ({ graph, rootNode, componentWidgets, className, onLoad, children, ...rest }: DependenciesGraphProps) => React.JSX.Element",
3793
+ "signature": "(method) GraphUI.getDependenciesGraph(): ({ graph, rootNode, componentWidgets, className, onLoad, children, loadingGraphMetadata, ...rest }: DependenciesGraphProps) => React.JSX.Element",
3781
3794
  "name": "getDependenciesGraph",
3782
3795
  "params": [],
3783
3796
  "returnType": {
@@ -5207,7 +5220,7 @@
5207
5220
  "_legacy": {
5208
5221
  "scope": "teambit.component",
5209
5222
  "name": "graph",
5210
- "version": "1.0.316"
5223
+ "version": "1.0.318"
5211
5224
  },
5212
5225
  "_scope": "teambit.component"
5213
5226
  }
@@ -5720,7 +5733,7 @@
5720
5733
  "__schema": "ReactSchema",
5721
5734
  "location": {
5722
5735
  "filePath": "ui/graph-page/graph-filters.tsx",
5723
- "line": 11,
5736
+ "line": 12,
5724
5737
  "character": 1
5725
5738
  },
5726
5739
  "signature": "function GraphFilters({ onChangeFilter, isFiltered, disable, ...rest }: GraphFiltersType): React.JSX.Element",
@@ -5729,7 +5742,7 @@
5729
5742
  "__schema": "ParameterSchema",
5730
5743
  "location": {
5731
5744
  "filePath": "ui/graph-page/graph-filters.tsx",
5732
- "line": 11,
5745
+ "line": 12,
5733
5746
  "character": 30
5734
5747
  },
5735
5748
  "name": "{ onChangeFilter, isFiltered, disable, ...rest }",
@@ -5737,7 +5750,7 @@
5737
5750
  "__schema": "TypeRefSchema",
5738
5751
  "location": {
5739
5752
  "filePath": "ui/graph-page/graph-filters.tsx",
5740
- "line": 11,
5753
+ "line": 12,
5741
5754
  "character": 80
5742
5755
  },
5743
5756
  "name": "GraphFiltersType",
@@ -5749,7 +5762,7 @@
5749
5762
  "__schema": "InferenceTypeSchema",
5750
5763
  "location": {
5751
5764
  "filePath": "ui/graph-page/graph-filters.tsx",
5752
- "line": 11,
5765
+ "line": 12,
5753
5766
  "character": 32
5754
5767
  },
5755
5768
  "name": "onChangeFilter",
@@ -5760,7 +5773,7 @@
5760
5773
  "__schema": "InferenceTypeSchema",
5761
5774
  "location": {
5762
5775
  "filePath": "ui/graph-page/graph-filters.tsx",
5763
- "line": 11,
5776
+ "line": 12,
5764
5777
  "character": 48
5765
5778
  },
5766
5779
  "name": "isFiltered",
@@ -5771,7 +5784,7 @@
5771
5784
  "__schema": "InferenceTypeSchema",
5772
5785
  "location": {
5773
5786
  "filePath": "ui/graph-page/graph-filters.tsx",
5774
- "line": 11,
5787
+ "line": 12,
5775
5788
  "character": 60
5776
5789
  },
5777
5790
  "name": "disable",
@@ -5782,11 +5795,11 @@
5782
5795
  "__schema": "InferenceTypeSchema",
5783
5796
  "location": {
5784
5797
  "filePath": "ui/graph-page/graph-filters.tsx",
5785
- "line": 11,
5798
+ "line": 12,
5786
5799
  "character": 72
5787
5800
  },
5788
5801
  "name": "rest",
5789
- "type": "{\n elevation?: ElevationHeight | undefined;\n roundness?: Roundness | undefined;\n defaultChecked?: boolean | undefined;\n defaultValue?: string | number | readonly string[] | undefined;\n ... 256 more ...;\n onTransitionEndCapture?: React.TransitionEventHandler<...> | undefined;\n}",
5802
+ "type": "{\n showMetadata?: boolean | undefined;\n elevation?: ElevationHeight | undefined;\n roundness?: Roundness | undefined;\n defaultChecked?: boolean | undefined;\n ... 257 more ...;\n onTransitionEndCapture?: React.TransitionEventHandler<...> | undefined;\n}",
5790
5803
  "isSpread": true
5791
5804
  }
5792
5805
  ],
@@ -5796,7 +5809,7 @@
5796
5809
  "__schema": "TypeRefSchema",
5797
5810
  "location": {
5798
5811
  "filePath": "ui/graph-page/graph-filters.tsx",
5799
- "line": 11,
5812
+ "line": 12,
5800
5813
  "character": 1
5801
5814
  },
5802
5815
  "name": "React.JSX.Element",
@@ -5815,7 +5828,7 @@
5815
5828
  "line": 5,
5816
5829
  "character": 1
5817
5830
  },
5818
- "signature": "type GraphFiltersType = {\n isFiltered: boolean;\n onChangeFilter: (isFiltered: boolean) => void;\n disable?: boolean | undefined;\n} & {\n elevation?: ElevationHeight | undefined;\n roundness?: Roundness | undefined;\n} & React.HTMLAttributes<...>",
5831
+ "signature": "type GraphFiltersType = {\n isFiltered: boolean;\n showMetadata?: boolean | undefined;\n onChangeFilter: (isFiltered: boolean) => void;\n disable?: boolean | undefined;\n} & {\n elevation?: ElevationHeight | undefined;\n roundness?: Roundness | undefined;\n} & React.HTMLAttributes<...>",
5819
5832
  "name": "GraphFiltersType",
5820
5833
  "type": {
5821
5834
  "__schema": "TypeIntersectionSchema",
@@ -5860,13 +5873,33 @@
5860
5873
  "line": 7,
5861
5874
  "character": 3
5862
5875
  },
5876
+ "signature": "(property) showMetadata?: boolean | undefined",
5877
+ "name": "showMetadata",
5878
+ "type": {
5879
+ "__schema": "KeywordTypeSchema",
5880
+ "location": {
5881
+ "filePath": "ui/graph-page/graph-filters.tsx",
5882
+ "line": 7,
5883
+ "character": 18
5884
+ },
5885
+ "name": "boolean"
5886
+ },
5887
+ "isOptional": true
5888
+ },
5889
+ {
5890
+ "__schema": "VariableLikeSchema",
5891
+ "location": {
5892
+ "filePath": "ui/graph-page/graph-filters.tsx",
5893
+ "line": 8,
5894
+ "character": 3
5895
+ },
5863
5896
  "signature": "(property) onChangeFilter: (isFiltered: boolean) => void",
5864
5897
  "name": "onChangeFilter",
5865
5898
  "type": {
5866
5899
  "__schema": "FunctionLikeSchema",
5867
5900
  "location": {
5868
5901
  "filePath": "ui/graph-page/graph-filters.tsx",
5869
- "line": 7,
5902
+ "line": 8,
5870
5903
  "character": 19
5871
5904
  },
5872
5905
  "signature": "(isFiltered: boolean): void",
@@ -5876,7 +5909,7 @@
5876
5909
  "__schema": "ParameterSchema",
5877
5910
  "location": {
5878
5911
  "filePath": "ui/graph-page/graph-filters.tsx",
5879
- "line": 7,
5912
+ "line": 8,
5880
5913
  "character": 20
5881
5914
  },
5882
5915
  "name": "isFiltered",
@@ -5884,7 +5917,7 @@
5884
5917
  "__schema": "KeywordTypeSchema",
5885
5918
  "location": {
5886
5919
  "filePath": "ui/graph-page/graph-filters.tsx",
5887
- "line": 7,
5920
+ "line": 8,
5888
5921
  "character": 32
5889
5922
  },
5890
5923
  "name": "boolean"
@@ -5897,7 +5930,7 @@
5897
5930
  "__schema": "KeywordTypeSchema",
5898
5931
  "location": {
5899
5932
  "filePath": "ui/graph-page/graph-filters.tsx",
5900
- "line": 7,
5933
+ "line": 8,
5901
5934
  "character": 44
5902
5935
  },
5903
5936
  "name": "void"
@@ -5910,7 +5943,7 @@
5910
5943
  "__schema": "VariableLikeSchema",
5911
5944
  "location": {
5912
5945
  "filePath": "ui/graph-page/graph-filters.tsx",
5913
- "line": 8,
5946
+ "line": 9,
5914
5947
  "character": 3
5915
5948
  },
5916
5949
  "signature": "(property) disable?: boolean | undefined",
@@ -5919,7 +5952,7 @@
5919
5952
  "__schema": "KeywordTypeSchema",
5920
5953
  "location": {
5921
5954
  "filePath": "ui/graph-page/graph-filters.tsx",
5922
- "line": 8,
5955
+ "line": 9,
5923
5956
  "character": 13
5924
5957
  },
5925
5958
  "name": "boolean"
@@ -5932,7 +5965,7 @@
5932
5965
  "__schema": "TypeRefSchema",
5933
5966
  "location": {
5934
5967
  "filePath": "ui/graph-page/graph-filters.tsx",
5935
- "line": 9,
5968
+ "line": 10,
5936
5969
  "character": 5
5937
5970
  },
5938
5971
  "name": "CardProps",
@@ -5992,14 +6025,14 @@
5992
6025
  "line": 6,
5993
6026
  "character": 3
5994
6027
  },
5995
- "signature": "(property) NodeModel.component: ComponentModel",
6028
+ "signature": "(property) NodeModel.component?: ComponentModel | undefined",
5996
6029
  "name": "component",
5997
6030
  "type": {
5998
6031
  "__schema": "TypeRefSchema",
5999
6032
  "location": {
6000
6033
  "filePath": "ui/query/node-model.ts",
6001
6034
  "line": 6,
6002
- "character": 3
6035
+ "character": 15
6003
6036
  },
6004
6037
  "name": "ComponentModel",
6005
6038
  "componentId": {
@@ -6007,13 +6040,37 @@
6007
6040
  "name": "component"
6008
6041
  }
6009
6042
  },
6043
+ "isOptional": true
6044
+ },
6045
+ {
6046
+ "__schema": "VariableLikeSchema",
6047
+ "location": {
6048
+ "filePath": "ui/query/node-model.ts",
6049
+ "line": 7,
6050
+ "character": 3
6051
+ },
6052
+ "signature": "(property) NodeModel.componentId: ComponentID",
6053
+ "name": "componentId",
6054
+ "type": {
6055
+ "__schema": "TypeRefSchema",
6056
+ "location": {
6057
+ "filePath": "ui/query/node-model.ts",
6058
+ "line": 7,
6059
+ "character": 3
6060
+ },
6061
+ "name": "ComponentID",
6062
+ "componentId": {
6063
+ "scope": "teambit.component",
6064
+ "name": "component"
6065
+ }
6066
+ },
6010
6067
  "isOptional": false
6011
6068
  },
6012
6069
  {
6013
6070
  "__schema": "FunctionLikeSchema",
6014
6071
  "location": {
6015
6072
  "filePath": "ui/query/node-model.ts",
6016
- "line": 8,
6073
+ "line": 9,
6017
6074
  "character": 3
6018
6075
  },
6019
6076
  "signature": "(method) NodeModel.from(rawNode: RawNode): NodeModel",
@@ -6023,7 +6080,7 @@
6023
6080
  "__schema": "ParameterSchema",
6024
6081
  "location": {
6025
6082
  "filePath": "ui/query/node-model.ts",
6026
- "line": 8,
6083
+ "line": 9,
6027
6084
  "character": 15
6028
6085
  },
6029
6086
  "name": "rawNode",
@@ -6031,7 +6088,7 @@
6031
6088
  "__schema": "TypeRefSchema",
6032
6089
  "location": {
6033
6090
  "filePath": "ui/query/node-model.ts",
6034
- "line": 8,
6091
+ "line": 9,
6035
6092
  "character": 24
6036
6093
  },
6037
6094
  "name": "RawNode",
@@ -6045,7 +6102,7 @@
6045
6102
  "__schema": "TypeRefSchema",
6046
6103
  "location": {
6047
6104
  "filePath": "ui/query/node-model.ts",
6048
- "line": 8,
6105
+ "line": 9,
6049
6106
  "character": 3
6050
6107
  },
6051
6108
  "name": "NodeModel"
@@ -6203,7 +6260,28 @@
6203
6260
  "__schema": "VariableLikeSchema",
6204
6261
  "location": {
6205
6262
  "filePath": "ui/query/get-graph.query.ts",
6206
- "line": 6,
6263
+ "line": 4,
6264
+ "character": 14
6265
+ },
6266
+ "signature": "const GET_GRAPH_IDS: DocumentNode",
6267
+ "name": "GET_GRAPH_IDS",
6268
+ "type": {
6269
+ "__schema": "InferenceTypeSchema",
6270
+ "location": {
6271
+ "filePath": "ui/query/get-graph.query.ts",
6272
+ "line": 4,
6273
+ "character": 14
6274
+ },
6275
+ "type": "DocumentNode"
6276
+ },
6277
+ "isOptional": false,
6278
+ "defaultValue": "gql`\n query graph($ids: [String], $filter: String) {\n graph(ids: $ids, filter: $filter) {\n nodes {\n id\n }\n edges {\n sourceId\n targetId\n dependencyLifecycleType\n }\n }\n }\n`"
6279
+ },
6280
+ {
6281
+ "__schema": "VariableLikeSchema",
6282
+ "location": {
6283
+ "filePath": "ui/query/get-graph.query.ts",
6284
+ "line": 19,
6207
6285
  "character": 14
6208
6286
  },
6209
6287
  "signature": "const GET_GRAPH: DocumentNode",
@@ -6212,7 +6290,7 @@
6212
6290
  "__schema": "InferenceTypeSchema",
6213
6291
  "location": {
6214
6292
  "filePath": "ui/query/get-graph.query.ts",
6215
- "line": 6,
6293
+ "line": 19,
6216
6294
  "character": 14
6217
6295
  },
6218
6296
  "type": "DocumentNode"
@@ -6224,7 +6302,7 @@
6224
6302
  "__schema": "TypeSchema",
6225
6303
  "location": {
6226
6304
  "filePath": "ui/query/get-graph.query.ts",
6227
- "line": 38,
6305
+ "line": 51,
6228
6306
  "character": 1
6229
6307
  },
6230
6308
  "signature": "type RawGraphQuery = {\n graph: RawGraph;\n}",
@@ -6233,7 +6311,7 @@
6233
6311
  "__schema": "TypeLiteralSchema",
6234
6312
  "location": {
6235
6313
  "filePath": "ui/query/get-graph.query.ts",
6236
- "line": 38,
6314
+ "line": 51,
6237
6315
  "character": 29
6238
6316
  },
6239
6317
  "members": [
@@ -6241,7 +6319,7 @@
6241
6319
  "__schema": "VariableLikeSchema",
6242
6320
  "location": {
6243
6321
  "filePath": "ui/query/get-graph.query.ts",
6244
- "line": 39,
6322
+ "line": 52,
6245
6323
  "character": 3
6246
6324
  },
6247
6325
  "signature": "(property) graph: RawGraph",
@@ -6250,7 +6328,7 @@
6250
6328
  "__schema": "TypeRefSchema",
6251
6329
  "location": {
6252
6330
  "filePath": "ui/query/get-graph.query.ts",
6253
- "line": 39,
6331
+ "line": 52,
6254
6332
  "character": 3
6255
6333
  },
6256
6334
  "name": "RawGraph"
@@ -6264,7 +6342,7 @@
6264
6342
  "__schema": "TypeSchema",
6265
6343
  "location": {
6266
6344
  "filePath": "ui/query/get-graph.query.ts",
6267
- "line": 42,
6345
+ "line": 55,
6268
6346
  "character": 1
6269
6347
  },
6270
6348
  "signature": "type RawGraph = {\n nodes: RawNode[];\n edges: [];\n}",
@@ -6273,7 +6351,7 @@
6273
6351
  "__schema": "TypeLiteralSchema",
6274
6352
  "location": {
6275
6353
  "filePath": "ui/query/get-graph.query.ts",
6276
- "line": 42,
6354
+ "line": 55,
6277
6355
  "character": 24
6278
6356
  },
6279
6357
  "members": [
@@ -6281,7 +6359,7 @@
6281
6359
  "__schema": "VariableLikeSchema",
6282
6360
  "location": {
6283
6361
  "filePath": "ui/query/get-graph.query.ts",
6284
- "line": 43,
6362
+ "line": 56,
6285
6363
  "character": 3
6286
6364
  },
6287
6365
  "signature": "(property) nodes: RawNode[]",
@@ -6290,14 +6368,14 @@
6290
6368
  "__schema": "TypeArraySchema",
6291
6369
  "location": {
6292
6370
  "filePath": "ui/query/get-graph.query.ts",
6293
- "line": 43,
6371
+ "line": 56,
6294
6372
  "character": 10
6295
6373
  },
6296
6374
  "type": {
6297
6375
  "__schema": "TypeRefSchema",
6298
6376
  "location": {
6299
6377
  "filePath": "ui/query/get-graph.query.ts",
6300
- "line": 43,
6378
+ "line": 56,
6301
6379
  "character": 10
6302
6380
  },
6303
6381
  "name": "RawNode",
@@ -6310,7 +6388,7 @@
6310
6388
  "__schema": "VariableLikeSchema",
6311
6389
  "location": {
6312
6390
  "filePath": "ui/query/get-graph.query.ts",
6313
- "line": 44,
6391
+ "line": 57,
6314
6392
  "character": 3
6315
6393
  },
6316
6394
  "signature": "(property) edges: []",
@@ -6319,7 +6397,7 @@
6319
6397
  "__schema": "TupleTypeSchema",
6320
6398
  "location": {
6321
6399
  "filePath": "ui/query/get-graph.query.ts",
6322
- "line": 44,
6400
+ "line": 57,
6323
6401
  "character": 10
6324
6402
  },
6325
6403
  "elements": []
@@ -6333,16 +6411,16 @@
6333
6411
  "__schema": "TypeSchema",
6334
6412
  "location": {
6335
6413
  "filePath": "ui/query/get-graph.query.ts",
6336
- "line": 47,
6414
+ "line": 60,
6337
6415
  "character": 1
6338
6416
  },
6339
- "signature": "type RawNode = {\n id: string;\n component: {\n id: {\n name: string;\n scope: string;\n version: string;\n };\n displayName: string;\n deprecation: {\n isDeprecate: boolean;\n };\n env: {\n id: string;\n icon: string;\n };\n };\n}",
6417
+ "signature": "type RawNode = {\n id: string;\n component?: {\n id: {\n name: string;\n scope: string;\n version: string;\n };\n displayName: string;\n deprecation: {\n isDeprecate: boolean;\n };\n env: {\n id: string;\n icon: string;\n };\n } | undefined;\n}",
6340
6418
  "name": "RawNode",
6341
6419
  "type": {
6342
6420
  "__schema": "TypeLiteralSchema",
6343
6421
  "location": {
6344
6422
  "filePath": "ui/query/get-graph.query.ts",
6345
- "line": 47,
6423
+ "line": 60,
6346
6424
  "character": 23
6347
6425
  },
6348
6426
  "members": [
@@ -6350,7 +6428,7 @@
6350
6428
  "__schema": "VariableLikeSchema",
6351
6429
  "location": {
6352
6430
  "filePath": "ui/query/get-graph.query.ts",
6353
- "line": 48,
6431
+ "line": 61,
6354
6432
  "character": 3
6355
6433
  },
6356
6434
  "signature": "(property) id: string",
@@ -6359,7 +6437,7 @@
6359
6437
  "__schema": "KeywordTypeSchema",
6360
6438
  "location": {
6361
6439
  "filePath": "ui/query/get-graph.query.ts",
6362
- "line": 48,
6440
+ "line": 61,
6363
6441
  "character": 7
6364
6442
  },
6365
6443
  "name": "string"
@@ -6370,24 +6448,24 @@
6370
6448
  "__schema": "VariableLikeSchema",
6371
6449
  "location": {
6372
6450
  "filePath": "ui/query/get-graph.query.ts",
6373
- "line": 49,
6451
+ "line": 62,
6374
6452
  "character": 3
6375
6453
  },
6376
- "signature": "(property) component: {\n id: {\n name: string;\n scope: string;\n version: string;\n };\n displayName: string;\n deprecation: {\n isDeprecate: boolean;\n };\n env: {\n id: string;\n icon: string;\n };\n}",
6454
+ "signature": "(property) component?: {\n id: {\n name: string;\n scope: string;\n version: string;\n };\n displayName: string;\n deprecation: {\n isDeprecate: boolean;\n };\n env: {\n id: string;\n icon: string;\n };\n} | undefined",
6377
6455
  "name": "component",
6378
6456
  "type": {
6379
6457
  "__schema": "TypeLiteralSchema",
6380
6458
  "location": {
6381
6459
  "filePath": "ui/query/get-graph.query.ts",
6382
- "line": 49,
6383
- "character": 14
6460
+ "line": 62,
6461
+ "character": 15
6384
6462
  },
6385
6463
  "members": [
6386
6464
  {
6387
6465
  "__schema": "VariableLikeSchema",
6388
6466
  "location": {
6389
6467
  "filePath": "ui/query/get-graph.query.ts",
6390
- "line": 50,
6468
+ "line": 63,
6391
6469
  "character": 5
6392
6470
  },
6393
6471
  "signature": "(property) id: {\n name: string;\n scope: string;\n version: string;\n}",
@@ -6396,7 +6474,7 @@
6396
6474
  "__schema": "TypeLiteralSchema",
6397
6475
  "location": {
6398
6476
  "filePath": "ui/query/get-graph.query.ts",
6399
- "line": 50,
6477
+ "line": 63,
6400
6478
  "character": 9
6401
6479
  },
6402
6480
  "members": [
@@ -6404,7 +6482,7 @@
6404
6482
  "__schema": "VariableLikeSchema",
6405
6483
  "location": {
6406
6484
  "filePath": "ui/query/get-graph.query.ts",
6407
- "line": 51,
6485
+ "line": 64,
6408
6486
  "character": 7
6409
6487
  },
6410
6488
  "signature": "(property) name: string",
@@ -6413,7 +6491,7 @@
6413
6491
  "__schema": "KeywordTypeSchema",
6414
6492
  "location": {
6415
6493
  "filePath": "ui/query/get-graph.query.ts",
6416
- "line": 51,
6494
+ "line": 64,
6417
6495
  "character": 13
6418
6496
  },
6419
6497
  "name": "string"
@@ -6424,7 +6502,7 @@
6424
6502
  "__schema": "VariableLikeSchema",
6425
6503
  "location": {
6426
6504
  "filePath": "ui/query/get-graph.query.ts",
6427
- "line": 52,
6505
+ "line": 65,
6428
6506
  "character": 7
6429
6507
  },
6430
6508
  "signature": "(property) scope: string",
@@ -6433,7 +6511,7 @@
6433
6511
  "__schema": "KeywordTypeSchema",
6434
6512
  "location": {
6435
6513
  "filePath": "ui/query/get-graph.query.ts",
6436
- "line": 52,
6514
+ "line": 65,
6437
6515
  "character": 14
6438
6516
  },
6439
6517
  "name": "string"
@@ -6444,7 +6522,7 @@
6444
6522
  "__schema": "VariableLikeSchema",
6445
6523
  "location": {
6446
6524
  "filePath": "ui/query/get-graph.query.ts",
6447
- "line": 53,
6525
+ "line": 66,
6448
6526
  "character": 7
6449
6527
  },
6450
6528
  "signature": "(property) version: string",
@@ -6453,7 +6531,7 @@
6453
6531
  "__schema": "KeywordTypeSchema",
6454
6532
  "location": {
6455
6533
  "filePath": "ui/query/get-graph.query.ts",
6456
- "line": 53,
6534
+ "line": 66,
6457
6535
  "character": 16
6458
6536
  },
6459
6537
  "name": "string"
@@ -6468,7 +6546,7 @@
6468
6546
  "__schema": "VariableLikeSchema",
6469
6547
  "location": {
6470
6548
  "filePath": "ui/query/get-graph.query.ts",
6471
- "line": 56,
6549
+ "line": 68,
6472
6550
  "character": 5
6473
6551
  },
6474
6552
  "signature": "(property) displayName: string",
@@ -6477,7 +6555,7 @@
6477
6555
  "__schema": "KeywordTypeSchema",
6478
6556
  "location": {
6479
6557
  "filePath": "ui/query/get-graph.query.ts",
6480
- "line": 56,
6558
+ "line": 68,
6481
6559
  "character": 18
6482
6560
  },
6483
6561
  "name": "string"
@@ -6488,7 +6566,7 @@
6488
6566
  "__schema": "VariableLikeSchema",
6489
6567
  "location": {
6490
6568
  "filePath": "ui/query/get-graph.query.ts",
6491
- "line": 58,
6569
+ "line": 69,
6492
6570
  "character": 5
6493
6571
  },
6494
6572
  "signature": "(property) deprecation: {\n isDeprecate: boolean;\n}",
@@ -6497,7 +6575,7 @@
6497
6575
  "__schema": "TypeLiteralSchema",
6498
6576
  "location": {
6499
6577
  "filePath": "ui/query/get-graph.query.ts",
6500
- "line": 58,
6578
+ "line": 69,
6501
6579
  "character": 18
6502
6580
  },
6503
6581
  "members": [
@@ -6505,7 +6583,7 @@
6505
6583
  "__schema": "VariableLikeSchema",
6506
6584
  "location": {
6507
6585
  "filePath": "ui/query/get-graph.query.ts",
6508
- "line": 59,
6586
+ "line": 70,
6509
6587
  "character": 7
6510
6588
  },
6511
6589
  "signature": "(property) isDeprecate: boolean",
@@ -6514,7 +6592,7 @@
6514
6592
  "__schema": "KeywordTypeSchema",
6515
6593
  "location": {
6516
6594
  "filePath": "ui/query/get-graph.query.ts",
6517
- "line": 59,
6595
+ "line": 70,
6518
6596
  "character": 20
6519
6597
  },
6520
6598
  "name": "boolean"
@@ -6529,7 +6607,7 @@
6529
6607
  "__schema": "VariableLikeSchema",
6530
6608
  "location": {
6531
6609
  "filePath": "ui/query/get-graph.query.ts",
6532
- "line": 62,
6610
+ "line": 72,
6533
6611
  "character": 5
6534
6612
  },
6535
6613
  "signature": "(property) env: {\n id: string;\n icon: string;\n}",
@@ -6538,7 +6616,7 @@
6538
6616
  "__schema": "TypeLiteralSchema",
6539
6617
  "location": {
6540
6618
  "filePath": "ui/query/get-graph.query.ts",
6541
- "line": 62,
6619
+ "line": 72,
6542
6620
  "character": 10
6543
6621
  },
6544
6622
  "members": [
@@ -6546,7 +6624,7 @@
6546
6624
  "__schema": "VariableLikeSchema",
6547
6625
  "location": {
6548
6626
  "filePath": "ui/query/get-graph.query.ts",
6549
- "line": 63,
6627
+ "line": 73,
6550
6628
  "character": 7
6551
6629
  },
6552
6630
  "signature": "(property) id: string",
@@ -6555,7 +6633,7 @@
6555
6633
  "__schema": "KeywordTypeSchema",
6556
6634
  "location": {
6557
6635
  "filePath": "ui/query/get-graph.query.ts",
6558
- "line": 63,
6636
+ "line": 73,
6559
6637
  "character": 11
6560
6638
  },
6561
6639
  "name": "string"
@@ -6566,7 +6644,7 @@
6566
6644
  "__schema": "VariableLikeSchema",
6567
6645
  "location": {
6568
6646
  "filePath": "ui/query/get-graph.query.ts",
6569
- "line": 64,
6647
+ "line": 74,
6570
6648
  "character": 7
6571
6649
  },
6572
6650
  "signature": "(property) icon: string",
@@ -6575,7 +6653,7 @@
6575
6653
  "__schema": "KeywordTypeSchema",
6576
6654
  "location": {
6577
6655
  "filePath": "ui/query/get-graph.query.ts",
6578
- "line": 64,
6656
+ "line": 74,
6579
6657
  "character": 13
6580
6658
  },
6581
6659
  "name": "string"
@@ -6588,7 +6666,7 @@
6588
6666
  }
6589
6667
  ]
6590
6668
  },
6591
- "isOptional": false
6669
+ "isOptional": true
6592
6670
  }
6593
6671
  ]
6594
6672
  }
@@ -6597,7 +6675,7 @@
6597
6675
  "__schema": "TypeSchema",
6598
6676
  "location": {
6599
6677
  "filePath": "ui/query/get-graph.query.ts",
6600
- "line": 69,
6678
+ "line": 79,
6601
6679
  "character": 1
6602
6680
  },
6603
6681
  "signature": "type RawEdge = {\n sourceId: string;\n targetId: string;\n dependencyLifecycleType: EdgeType;\n}",
@@ -6606,7 +6684,7 @@
6606
6684
  "__schema": "TypeLiteralSchema",
6607
6685
  "location": {
6608
6686
  "filePath": "ui/query/get-graph.query.ts",
6609
- "line": 69,
6687
+ "line": 79,
6610
6688
  "character": 23
6611
6689
  },
6612
6690
  "members": [
@@ -6614,7 +6692,7 @@
6614
6692
  "__schema": "VariableLikeSchema",
6615
6693
  "location": {
6616
6694
  "filePath": "ui/query/get-graph.query.ts",
6617
- "line": 70,
6695
+ "line": 80,
6618
6696
  "character": 3
6619
6697
  },
6620
6698
  "signature": "(property) sourceId: string",
@@ -6623,7 +6701,7 @@
6623
6701
  "__schema": "KeywordTypeSchema",
6624
6702
  "location": {
6625
6703
  "filePath": "ui/query/get-graph.query.ts",
6626
- "line": 70,
6704
+ "line": 80,
6627
6705
  "character": 13
6628
6706
  },
6629
6707
  "name": "string"
@@ -6634,7 +6712,7 @@
6634
6712
  "__schema": "VariableLikeSchema",
6635
6713
  "location": {
6636
6714
  "filePath": "ui/query/get-graph.query.ts",
6637
- "line": 71,
6715
+ "line": 81,
6638
6716
  "character": 3
6639
6717
  },
6640
6718
  "signature": "(property) targetId: string",
@@ -6643,7 +6721,7 @@
6643
6721
  "__schema": "KeywordTypeSchema",
6644
6722
  "location": {
6645
6723
  "filePath": "ui/query/get-graph.query.ts",
6646
- "line": 71,
6724
+ "line": 81,
6647
6725
  "character": 13
6648
6726
  },
6649
6727
  "name": "string"
@@ -6654,7 +6732,7 @@
6654
6732
  "__schema": "VariableLikeSchema",
6655
6733
  "location": {
6656
6734
  "filePath": "ui/query/get-graph.query.ts",
6657
- "line": 72,
6735
+ "line": 82,
6658
6736
  "character": 3
6659
6737
  },
6660
6738
  "signature": "(property) dependencyLifecycleType: EdgeType",
@@ -6663,7 +6741,7 @@
6663
6741
  "__schema": "TypeRefSchema",
6664
6742
  "location": {
6665
6743
  "filePath": "ui/query/get-graph.query.ts",
6666
- "line": 72,
6744
+ "line": 82,
6667
6745
  "character": 3
6668
6746
  },
6669
6747
  "name": "EdgeType"
@@ -7688,7 +7766,7 @@
7688
7766
  "_legacy": {
7689
7767
  "scope": "teambit.component",
7690
7768
  "name": "graph",
7691
- "version": "1.0.316"
7769
+ "version": "1.0.318"
7692
7770
  },
7693
7771
  "_scope": "teambit.component"
7694
7772
  }
@@ -8302,7 +8380,7 @@
8302
8380
  "_legacy": {
8303
8381
  "scope": "teambit.component",
8304
8382
  "name": "graph",
8305
- "version": "1.0.316"
8383
+ "version": "1.0.318"
8306
8384
  },
8307
8385
  "_scope": "teambit.component"
8308
8386
  }
@@ -8464,7 +8542,7 @@
8464
8542
  "_legacy": {
8465
8543
  "scope": "teambit.component",
8466
8544
  "name": "graph",
8467
- "version": "1.0.316"
8545
+ "version": "1.0.318"
8468
8546
  },
8469
8547
  "_scope": "teambit.component"
8470
8548
  }
@@ -8606,7 +8684,7 @@
8606
8684
  "line": 25,
8607
8685
  "character": 3
8608
8686
  },
8609
- "signature": "(method) GraphUI.getDependenciesGraph(): ({ graph, rootNode, componentWidgets, className, onLoad, children, ...rest }: DependenciesGraphProps) => React.JSX.Element",
8687
+ "signature": "(method) GraphUI.getDependenciesGraph(): ({ graph, rootNode, componentWidgets, className, onLoad, children, loadingGraphMetadata, ...rest }: DependenciesGraphProps) => React.JSX.Element",
8610
8688
  "name": "getDependenciesGraph",
8611
8689
  "params": [],
8612
8690
  "returnType": {
@@ -8964,16 +9042,16 @@
8964
9042
  "__schema": "TypeSchema",
8965
9043
  "location": {
8966
9044
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
8967
- "line": 37,
9045
+ "line": 38,
8968
9046
  "character": 1
8969
9047
  },
8970
- "signature": "type DependenciesGraphProps = {\n rootNode: ComponentID;\n graph: GraphModel<NodeModel, EdgeModel>;\n componentWidgets: ComponentWidgetSlot;\n onLoad?: ((instance: ReactFlowInstance) => void) | undefined;\n} & Omit<ReactFlowProps, \"elements\">",
9048
+ "signature": "type DependenciesGraphProps = {\n rootNode: ComponentID;\n graph?: GraphModel<NodeModel, EdgeModel> | undefined;\n componentWidgets: ComponentWidgetSlot;\n onLoad?: ((instance: ReactFlowInstance) => void) | undefined;\n loadingGraphMetadata?: boolean | undefined;\n} & Omit<...>",
8971
9049
  "name": "DependenciesGraphProps",
8972
9050
  "type": {
8973
9051
  "__schema": "TypeIntersectionSchema",
8974
9052
  "location": {
8975
9053
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
8976
- "line": 37,
9054
+ "line": 38,
8977
9055
  "character": 38
8978
9056
  },
8979
9057
  "types": [
@@ -8981,7 +9059,7 @@
8981
9059
  "__schema": "TypeLiteralSchema",
8982
9060
  "location": {
8983
9061
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
8984
- "line": 37,
9062
+ "line": 38,
8985
9063
  "character": 38
8986
9064
  },
8987
9065
  "members": [
@@ -8989,7 +9067,7 @@
8989
9067
  "__schema": "VariableLikeSchema",
8990
9068
  "location": {
8991
9069
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
8992
- "line": 38,
9070
+ "line": 39,
8993
9071
  "character": 3
8994
9072
  },
8995
9073
  "signature": "(property) rootNode: ComponentID",
@@ -8998,7 +9076,7 @@
8998
9076
  "__schema": "TypeRefSchema",
8999
9077
  "location": {
9000
9078
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9001
- "line": 38,
9079
+ "line": 39,
9002
9080
  "character": 3
9003
9081
  },
9004
9082
  "name": "ComponentID",
@@ -9013,17 +9091,17 @@
9013
9091
  "__schema": "VariableLikeSchema",
9014
9092
  "location": {
9015
9093
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9016
- "line": 39,
9094
+ "line": 40,
9017
9095
  "character": 3
9018
9096
  },
9019
- "signature": "(property) graph: GraphModel<NodeModel, EdgeModel>",
9097
+ "signature": "(property) graph?: GraphModel<NodeModel, EdgeModel> | undefined",
9020
9098
  "name": "graph",
9021
9099
  "type": {
9022
9100
  "__schema": "TypeRefSchema",
9023
9101
  "location": {
9024
9102
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9025
- "line": 39,
9026
- "character": 10
9103
+ "line": 40,
9104
+ "character": 11
9027
9105
  },
9028
9106
  "name": "GraphModel",
9029
9107
  "typeArgs": [
@@ -9031,8 +9109,8 @@
9031
9109
  "__schema": "TypeRefSchema",
9032
9110
  "location": {
9033
9111
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9034
- "line": 39,
9035
- "character": 21
9112
+ "line": 40,
9113
+ "character": 22
9036
9114
  },
9037
9115
  "name": "NodeModel"
9038
9116
  },
@@ -9040,20 +9118,20 @@
9040
9118
  "__schema": "TypeRefSchema",
9041
9119
  "location": {
9042
9120
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9043
- "line": 39,
9044
- "character": 32
9121
+ "line": 40,
9122
+ "character": 33
9045
9123
  },
9046
9124
  "name": "EdgeModel"
9047
9125
  }
9048
9126
  ]
9049
9127
  },
9050
- "isOptional": false
9128
+ "isOptional": true
9051
9129
  },
9052
9130
  {
9053
9131
  "__schema": "VariableLikeSchema",
9054
9132
  "location": {
9055
9133
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9056
- "line": 40,
9134
+ "line": 41,
9057
9135
  "character": 3
9058
9136
  },
9059
9137
  "signature": "(property) componentWidgets: ComponentWidgetSlot",
@@ -9062,7 +9140,7 @@
9062
9140
  "__schema": "TypeRefSchema",
9063
9141
  "location": {
9064
9142
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9065
- "line": 40,
9143
+ "line": 41,
9066
9144
  "character": 3
9067
9145
  },
9068
9146
  "name": "ComponentWidgetSlot"
@@ -9073,7 +9151,7 @@
9073
9151
  "__schema": "VariableLikeSchema",
9074
9152
  "location": {
9075
9153
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9076
- "line": 41,
9154
+ "line": 42,
9077
9155
  "character": 3
9078
9156
  },
9079
9157
  "signature": "(property) onLoad?: ((instance: ReactFlowInstance) => void) | undefined",
@@ -9082,7 +9160,7 @@
9082
9160
  "__schema": "FunctionLikeSchema",
9083
9161
  "location": {
9084
9162
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9085
- "line": 41,
9163
+ "line": 42,
9086
9164
  "character": 12
9087
9165
  },
9088
9166
  "signature": "(instance: \u001b[2m(package: reactflow)\u001b[22m ReactFlowInstance): void",
@@ -9092,7 +9170,7 @@
9092
9170
  "__schema": "ParameterSchema",
9093
9171
  "location": {
9094
9172
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9095
- "line": 41,
9173
+ "line": 42,
9096
9174
  "character": 13
9097
9175
  },
9098
9176
  "name": "instance",
@@ -9100,7 +9178,7 @@
9100
9178
  "__schema": "TypeRefSchema",
9101
9179
  "location": {
9102
9180
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9103
- "line": 41,
9181
+ "line": 42,
9104
9182
  "character": 23
9105
9183
  },
9106
9184
  "name": "ReactFlowInstance",
@@ -9114,7 +9192,7 @@
9114
9192
  "__schema": "KeywordTypeSchema",
9115
9193
  "location": {
9116
9194
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9117
- "line": 41,
9195
+ "line": 42,
9118
9196
  "character": 45
9119
9197
  },
9120
9198
  "name": "void"
@@ -9122,6 +9200,26 @@
9122
9200
  "modifiers": []
9123
9201
  },
9124
9202
  "isOptional": true
9203
+ },
9204
+ {
9205
+ "__schema": "VariableLikeSchema",
9206
+ "location": {
9207
+ "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9208
+ "line": 43,
9209
+ "character": 3
9210
+ },
9211
+ "signature": "(property) loadingGraphMetadata?: boolean | undefined",
9212
+ "name": "loadingGraphMetadata",
9213
+ "type": {
9214
+ "__schema": "KeywordTypeSchema",
9215
+ "location": {
9216
+ "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9217
+ "line": 43,
9218
+ "character": 26
9219
+ },
9220
+ "name": "boolean"
9221
+ },
9222
+ "isOptional": true
9125
9223
  }
9126
9224
  ]
9127
9225
  },
@@ -9129,7 +9227,7 @@
9129
9227
  "__schema": "TypeRefSchema",
9130
9228
  "location": {
9131
9229
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9132
- "line": 42,
9230
+ "line": 44,
9133
9231
  "character": 5
9134
9232
  },
9135
9233
  "name": "Omit",
@@ -9138,7 +9236,7 @@
9138
9236
  "__schema": "TypeRefSchema",
9139
9237
  "location": {
9140
9238
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9141
- "line": 42,
9239
+ "line": 44,
9142
9240
  "character": 10
9143
9241
  },
9144
9242
  "name": "ReactFlowProps",
@@ -9148,7 +9246,7 @@
9148
9246
  "__schema": "LiteralTypeSchema",
9149
9247
  "location": {
9150
9248
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9151
- "line": 42,
9249
+ "line": 44,
9152
9250
  "character": 26
9153
9251
  },
9154
9252
  "name": "'elements'"
@@ -9162,24 +9260,24 @@
9162
9260
  "__schema": "ReactSchema",
9163
9261
  "location": {
9164
9262
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9165
- "line": 44,
9263
+ "line": 46,
9166
9264
  "character": 1
9167
9265
  },
9168
- "signature": "function DependenciesGraph({ graph, rootNode, componentWidgets, className, onLoad, children, ...rest }: DependenciesGraphProps): React.JSX.Element",
9266
+ "signature": "function DependenciesGraph({ graph, rootNode, componentWidgets, className, onLoad, children, loadingGraphMetadata, ...rest }: DependenciesGraphProps): React.JSX.Element",
9169
9267
  "name": "DependenciesGraph",
9170
9268
  "props": {
9171
9269
  "__schema": "ParameterSchema",
9172
9270
  "location": {
9173
9271
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9174
- "line": 44,
9272
+ "line": 46,
9175
9273
  "character": 35
9176
9274
  },
9177
- "name": "{ graph, rootNode, componentWidgets, className, onLoad, children, ...rest }",
9275
+ "name": "{ graph, rootNode, componentWidgets, className, onLoad, children, loadingGraphMetadata, ...rest }",
9178
9276
  "type": {
9179
9277
  "__schema": "TypeRefSchema",
9180
9278
  "location": {
9181
9279
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9182
- "line": 52,
9280
+ "line": 55,
9183
9281
  "character": 4
9184
9282
  },
9185
9283
  "name": "DependenciesGraphProps",
@@ -9191,18 +9289,18 @@
9191
9289
  "__schema": "InferenceTypeSchema",
9192
9290
  "location": {
9193
9291
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9194
- "line": 45,
9292
+ "line": 47,
9195
9293
  "character": 3
9196
9294
  },
9197
9295
  "name": "graph",
9198
- "type": "GraphModel<NodeModel, EdgeModel>",
9296
+ "type": "GraphModel<NodeModel, EdgeModel> | undefined",
9199
9297
  "isSpread": false
9200
9298
  },
9201
9299
  {
9202
9300
  "__schema": "InferenceTypeSchema",
9203
9301
  "location": {
9204
9302
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9205
- "line": 46,
9303
+ "line": 48,
9206
9304
  "character": 3
9207
9305
  },
9208
9306
  "name": "rootNode",
@@ -9213,7 +9311,7 @@
9213
9311
  "__schema": "InferenceTypeSchema",
9214
9312
  "location": {
9215
9313
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9216
- "line": 47,
9314
+ "line": 49,
9217
9315
  "character": 3
9218
9316
  },
9219
9317
  "name": "componentWidgets",
@@ -9224,7 +9322,7 @@
9224
9322
  "__schema": "InferenceTypeSchema",
9225
9323
  "location": {
9226
9324
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9227
- "line": 48,
9325
+ "line": 50,
9228
9326
  "character": 3
9229
9327
  },
9230
9328
  "name": "className",
@@ -9235,7 +9333,7 @@
9235
9333
  "__schema": "InferenceTypeSchema",
9236
9334
  "location": {
9237
9335
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9238
- "line": 49,
9336
+ "line": 51,
9239
9337
  "character": 3
9240
9338
  },
9241
9339
  "name": "onLoad",
@@ -9246,7 +9344,7 @@
9246
9344
  "__schema": "InferenceTypeSchema",
9247
9345
  "location": {
9248
9346
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9249
- "line": 50,
9347
+ "line": 52,
9250
9348
  "character": 3
9251
9349
  },
9252
9350
  "name": "children",
@@ -9257,7 +9355,18 @@
9257
9355
  "__schema": "InferenceTypeSchema",
9258
9356
  "location": {
9259
9357
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9260
- "line": 51,
9358
+ "line": 53,
9359
+ "character": 3
9360
+ },
9361
+ "name": "loadingGraphMetadata",
9362
+ "type": "boolean | undefined",
9363
+ "isSpread": false
9364
+ },
9365
+ {
9366
+ "__schema": "InferenceTypeSchema",
9367
+ "location": {
9368
+ "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9369
+ "line": 54,
9261
9370
  "character": 6
9262
9371
  },
9263
9372
  "name": "rest",
@@ -9271,7 +9380,7 @@
9271
9380
  "__schema": "TypeRefSchema",
9272
9381
  "location": {
9273
9382
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9274
- "line": 44,
9383
+ "line": 46,
9275
9384
  "character": 1
9276
9385
  },
9277
9386
  "name": "React.JSX.Element",
@@ -9287,7 +9396,7 @@
9287
9396
  "__schema": "ReactSchema",
9288
9397
  "location": {
9289
9398
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9290
- "line": 25,
9399
+ "line": 26,
9291
9400
  "character": 1
9292
9401
  },
9293
9402
  "signature": "function ComponentNodeContainer(props: NodeProps): React.JSX.Element",
@@ -9296,7 +9405,7 @@
9296
9405
  "__schema": "ParameterSchema",
9297
9406
  "location": {
9298
9407
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9299
- "line": 25,
9408
+ "line": 26,
9300
9409
  "character": 33
9301
9410
  },
9302
9411
  "name": "props",
@@ -9304,7 +9413,7 @@
9304
9413
  "__schema": "TypeRefSchema",
9305
9414
  "location": {
9306
9415
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9307
- "line": 25,
9416
+ "line": 26,
9308
9417
  "character": 40
9309
9418
  },
9310
9419
  "name": "NodeProps",
@@ -9317,7 +9426,7 @@
9317
9426
  "__schema": "TypeRefSchema",
9318
9427
  "location": {
9319
9428
  "filePath": "ui/dependencies-graph/dependencies-graph.tsx",
9320
- "line": 25,
9429
+ "line": 26,
9321
9430
  "character": 1
9322
9431
  },
9323
9432
  "name": "React.JSX.Element",
@@ -10091,7 +10200,7 @@
10091
10200
  "componentId": {
10092
10201
  "scope": "teambit.component",
10093
10202
  "name": "graph",
10094
- "version": "1.0.316"
10203
+ "version": "1.0.318"
10095
10204
  },
10096
10205
  "taggedModuleExports": []
10097
10206
  }