@blockml/graph 0.9.1
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.
- package/blocks/org/blockml/bml/graph/BuildIndexResult.bml +43 -0
- package/blocks/org/blockml/bml/graph/GraphEdge.bml +49 -0
- package/blocks/org/blockml/bml/graph/GraphIndexOptions.bml +43 -0
- package/blocks/org/blockml/bml/graph/GraphMember.bml +46 -0
- package/blocks/org/blockml/bml/graph/GraphNeighbor.bml +52 -0
- package/blocks/org/blockml/bml/graph/GraphNode.bml +58 -0
- package/blocks/org/blockml/bml/graph/GraphPath.bml +40 -0
- package/blocks/org/blockml/bml/graph/GraphQueryResult.bml +37 -0
- package/blocks/org/blockml/bml/graph/GraphType.bml +33 -0
- package/blocks/org/blockml/bml/graph/IndexStatus.bml +43 -0
- package/blocks/org/blockml/bml/graph/Library.bml +95 -0
- package/blocks/org/blockml/bml/graph/README.bml +36 -0
- package/blocks/org/blockml/bml/graph/capability/Ancestors.bml +40 -0
- package/blocks/org/blockml/bml/graph/capability/BuildIndex.bml +41 -0
- package/blocks/org/blockml/bml/graph/capability/Descendants.bml +43 -0
- package/blocks/org/blockml/bml/graph/capability/Members.bml +37 -0
- package/blocks/org/blockml/bml/graph/capability/Neighbors.bml +53 -0
- package/blocks/org/blockml/bml/graph/capability/OpenIndex.bml +40 -0
- package/blocks/org/blockml/bml/graph/capability/Path.bml +43 -0
- package/blocks/org/blockml/bml/graph/capability/Query.bml +43 -0
- package/blocks/org/blockml/bml/graph/capability/RebuildIndex.bml +40 -0
- package/blocks/org/blockml/bml/graph/capability/Schema.bml +37 -0
- package/blocks/org/blockml/bml/graph/capability/UsedBy.bml +52 -0
- package/blocks/org/blockml/bml/graph/capability/Uses.bml +49 -0
- package/blocks/org/blockml/bml/graph/documentation/ArchitectureOverview.bml +39 -0
- package/blocks/org/blockml/bml/graph/documentation/Introduction.bml +37 -0
- package/blocks/org/blockml/bml/graph/documentation/LayerSeparation.bml +39 -0
- package/blocks/org/blockml/bml/graph/documentation/PackageOwnership.bml +36 -0
- package/blocks/org/blockml/bml/graph/documentation/PublicApi.bml +44 -0
- package/blocks/org/blockml/bml/graph/documentation/ScopeExclusions.bml +40 -0
- package/blocks/org/blockml/bml/graph/documentation/V1Scope.bml +41 -0
- package/dist/fingerprint.d.ts +27 -0
- package/dist/fingerprint.d.ts.map +1 -0
- package/dist/fingerprint.js +146 -0
- package/dist/fingerprint.js.map +1 -0
- package/dist/graph-index.d.ts +23 -0
- package/dist/graph-index.d.ts.map +1 -0
- package/dist/graph-index.js +49 -0
- package/dist/graph-index.js.map +1 -0
- package/dist/graph-lock.d.ts +6 -0
- package/dist/graph-lock.d.ts.map +1 -0
- package/dist/graph-lock.js +106 -0
- package/dist/graph-lock.js.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +159 -0
- package/dist/index.js.map +1 -0
- package/dist/ladybug-store.d.ts +19 -0
- package/dist/ladybug-store.d.ts.map +1 -0
- package/dist/ladybug-store.js +133 -0
- package/dist/ladybug-store.js.map +1 -0
- package/dist/mapper.d.ts +40 -0
- package/dist/mapper.d.ts.map +1 -0
- package/dist/mapper.js +245 -0
- package/dist/mapper.js.map +1 -0
- package/dist/operations.d.ts +14 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +375 -0
- package/dist/operations.js.map +1 -0
- package/dist/schema.d.ts +8 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +42 -0
- package/dist/schema.js.map +1 -0
- package/dist/store.d.ts +10 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +2 -0
- package/dist/store.js.map +1 -0
- package/dist/type-refs.d.ts +8 -0
- package/dist/type-refs.d.ts.map +1 -0
- package/dist/type-refs.js +48 -0
- package/dist/type-refs.js.map +1 -0
- package/dist/types.d.ts +103 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +4 -0
- package/dist/types.js.map +1 -0
- package/package.json +43 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — BuildIndexResult
|
|
3
|
+
FQN: org.blockml.bml.graph.BuildIndexResult
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>BuildIndexResult</name>
|
|
25
|
+
<type>graph:BuildIndexResult</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>In-memory graph index plus bootstrap diagnostics</is>
|
|
28
|
+
<documentation>Returned by buildIndex, rebuildIndex, and openGraph.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<index type="graph:GraphType">
|
|
31
|
+
<documentation>Opaque GraphIndex handle. (required)</documentation>
|
|
32
|
+
</index>
|
|
33
|
+
<diagnostics type="bomcommon:Diagnostic[]">
|
|
34
|
+
<documentation>diagnostics (required). TS type: bomcommon:Diagnostic[].</documentation>
|
|
35
|
+
</diagnostics>
|
|
36
|
+
<blocks type="type:Integer">
|
|
37
|
+
<documentation>Resolved Block nodes. (required)</documentation>
|
|
38
|
+
</blocks>
|
|
39
|
+
<members type="type:Integer">
|
|
40
|
+
<documentation>Member nodes. (required)</documentation>
|
|
41
|
+
</members>
|
|
42
|
+
</properties>
|
|
43
|
+
</block>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphEdge
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphEdge
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphEdge</name>
|
|
25
|
+
<type>graph:GraphEdge</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>Authored relation between graph nodes</is>
|
|
28
|
+
<documentation>relation is one of BASE_TYPE, CONTRACT, HAS_SUBBLOCK, HAS_MEMBER, MEMBER_TYPE, INPUT_TYPE, OUTPUT_TYPE, THROWS.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<relation type="type:Text">
|
|
31
|
+
<documentation>Authored relation name. (required)</documentation>
|
|
32
|
+
</relation>
|
|
33
|
+
<from type="type:Text">
|
|
34
|
+
<documentation>Source node id. (required)</documentation>
|
|
35
|
+
</from>
|
|
36
|
+
<to type="type:Text">
|
|
37
|
+
<documentation>Target node id. (required)</documentation>
|
|
38
|
+
</to>
|
|
39
|
+
<file type="type:Text">
|
|
40
|
+
<documentation>Provenance file. (optional)</documentation>
|
|
41
|
+
</file>
|
|
42
|
+
<line type="type:Integer">
|
|
43
|
+
<documentation>Provenance line. (optional)</documentation>
|
|
44
|
+
</line>
|
|
45
|
+
<cardinality type="type:Text">
|
|
46
|
+
<documentation>Optional multiplicity on MEMBER_TYPE. (optional)</documentation>
|
|
47
|
+
</cardinality>
|
|
48
|
+
</properties>
|
|
49
|
+
</block>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphIndexOptions
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphIndexOptions
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphIndexOptions</name>
|
|
25
|
+
<type>graph:GraphIndexOptions</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>Project and cache location for graph index operations</is>
|
|
28
|
+
<documentation>rootDir defaults to process.cwd(); srcDir defaults to blocks; indexDir defaults to {rootDir}/.blockml/graph.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<rootDir type="type:Text">
|
|
31
|
+
<documentation>rootDir (optional). TS type: type:Text.</documentation>
|
|
32
|
+
</rootDir>
|
|
33
|
+
<srcDir type="type:Text">
|
|
34
|
+
<documentation>srcDir (optional). TS type: type:Text.</documentation>
|
|
35
|
+
</srcDir>
|
|
36
|
+
<libraries type="type:Text[]">
|
|
37
|
+
<documentation>libraries (optional). TS type: type:Text[].</documentation>
|
|
38
|
+
</libraries>
|
|
39
|
+
<indexDir type="type:Text">
|
|
40
|
+
<documentation>indexDir (optional). TS type: type:Text.</documentation>
|
|
41
|
+
</indexDir>
|
|
42
|
+
</properties>
|
|
43
|
+
</block>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphMember
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphMember
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphMember</name>
|
|
25
|
+
<type>graph:GraphMember</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>Authored or inherited member view</is>
|
|
28
|
+
<documentation>inheritedFrom is set when the member is declared on an ancestor or contract, not stored as a derived HAS_MEMBER edge.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<node type="graph:GraphNode">
|
|
31
|
+
<documentation>Member node. (required)</documentation>
|
|
32
|
+
</node>
|
|
33
|
+
<relation type="type:Text">
|
|
34
|
+
<documentation>HAS_MEMBER. (required)</documentation>
|
|
35
|
+
</relation>
|
|
36
|
+
<inheritedFrom type="type:Text">
|
|
37
|
+
<documentation>Owner FQN when inherited. (optional)</documentation>
|
|
38
|
+
</inheritedFrom>
|
|
39
|
+
<file type="type:Text">
|
|
40
|
+
<documentation>Provenance file. (optional)</documentation>
|
|
41
|
+
</file>
|
|
42
|
+
<line type="type:Integer">
|
|
43
|
+
<documentation>Provenance line. (optional)</documentation>
|
|
44
|
+
</line>
|
|
45
|
+
</properties>
|
|
46
|
+
</block>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphNeighbor
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphNeighbor
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphNeighbor</name>
|
|
25
|
+
<type>graph:GraphNeighbor</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>One semantic 1-hop result</is>
|
|
28
|
+
<documentation>Block-level uses/usedBy/neighbors result. via is the Member that explains a MEMBER_TYPE hop. source is set when the edge is owned by a block other than the queried FQN (uses/used-by/neighbors depth > 1).</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<node type="graph:GraphNode">
|
|
31
|
+
<documentation>Neighbor block. (required)</documentation>
|
|
32
|
+
</node>
|
|
33
|
+
<relation type="type:Text">
|
|
34
|
+
<documentation>Authored relation. (required)</documentation>
|
|
35
|
+
</relation>
|
|
36
|
+
<direction type="type:Text">
|
|
37
|
+
<documentation>outgoing or incoming. (required)</documentation>
|
|
38
|
+
</direction>
|
|
39
|
+
<via type="graph:GraphNode">
|
|
40
|
+
<documentation>Member node when the hop goes through a member. (optional)</documentation>
|
|
41
|
+
</via>
|
|
42
|
+
<source type="graph:GraphNode">
|
|
43
|
+
<documentation>Block that owns this edge when it is not the queried FQN. (optional)</documentation>
|
|
44
|
+
</source>
|
|
45
|
+
<file type="type:Text">
|
|
46
|
+
<documentation>Provenance file. (optional)</documentation>
|
|
47
|
+
</file>
|
|
48
|
+
<line type="type:Integer">
|
|
49
|
+
<documentation>Provenance line. (optional)</documentation>
|
|
50
|
+
</line>
|
|
51
|
+
</properties>
|
|
52
|
+
</block>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphNode
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphNode
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphNode</name>
|
|
25
|
+
<type>graph:GraphNode</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>Block or Member node in the authored graph</is>
|
|
28
|
+
<documentation>kind is block or member. Member ids are ownerFqn#kind:name. origin is workspace, dependency, or unresolved.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<kind type="type:Text">
|
|
31
|
+
<documentation>block or member. (required)</documentation>
|
|
32
|
+
</kind>
|
|
33
|
+
<fqn type="type:Text">
|
|
34
|
+
<documentation>Block FQN or member id. (required)</documentation>
|
|
35
|
+
</fqn>
|
|
36
|
+
<name type="type:Text">
|
|
37
|
+
<documentation>Short name. (required)</documentation>
|
|
38
|
+
</name>
|
|
39
|
+
<file type="type:Text">
|
|
40
|
+
<documentation>Source file path. (required)</documentation>
|
|
41
|
+
</file>
|
|
42
|
+
<origin type="type:Text">
|
|
43
|
+
<documentation>workspace | dependency | unresolved. (required)</documentation>
|
|
44
|
+
</origin>
|
|
45
|
+
<resolved type="type:Boolean">
|
|
46
|
+
<documentation>false for stub nodes. (required)</documentation>
|
|
47
|
+
</resolved>
|
|
48
|
+
<library type="type:Text">
|
|
49
|
+
<documentation>Package prefix. (optional)</documentation>
|
|
50
|
+
</library>
|
|
51
|
+
<memberKind type="type:Text">
|
|
52
|
+
<documentation>property | aggregation | association | capability. (optional)</documentation>
|
|
53
|
+
</memberKind>
|
|
54
|
+
<displayFqn type="type:Text">
|
|
55
|
+
<documentation>Display FQN such as Wall.size. (optional)</documentation>
|
|
56
|
+
</displayFqn>
|
|
57
|
+
</properties>
|
|
58
|
+
</block>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphPath
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphPath
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphPath</name>
|
|
25
|
+
<type>graph:GraphPath</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>Shortest authored path between two blocks</is>
|
|
28
|
+
<documentation>hops are GraphNeighbor values with direction outgoing. Member nodes explain MEMBER_TYPE connections. path does not walk incoming edges.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<from type="graph:GraphNode">
|
|
31
|
+
<documentation>Start block. (required)</documentation>
|
|
32
|
+
</from>
|
|
33
|
+
<to type="graph:GraphNode">
|
|
34
|
+
<documentation>End block. (required)</documentation>
|
|
35
|
+
</to>
|
|
36
|
+
<hops type="graph:GraphNeighbor[]">
|
|
37
|
+
<documentation>Ordered hops including members. (required)</documentation>
|
|
38
|
+
</hops>
|
|
39
|
+
</properties>
|
|
40
|
+
</block>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphQueryResult
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphQueryResult
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphQueryResult</name>
|
|
25
|
+
<type>graph:GraphQueryResult</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>Tabular Cypher query result</is>
|
|
28
|
+
<documentation>columns are engine column names; each row.values aligns with columns. Ladybug types are not exposed.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<columns type="type:Text[]">
|
|
31
|
+
<documentation>Column names. (required)</documentation>
|
|
32
|
+
</columns>
|
|
33
|
+
<rows type="type:Text[]">
|
|
34
|
+
<documentation>JSON-shaped row values. (required)</documentation>
|
|
35
|
+
</rows>
|
|
36
|
+
</properties>
|
|
37
|
+
</block>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — GraphType
|
|
3
|
+
FQN: org.blockml.bml.graph.GraphType
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>GraphType</name>
|
|
25
|
+
<type>graph:GraphType</type>
|
|
26
|
+
<baseType>core:Entity</baseType>
|
|
27
|
+
<is>Abstract marker for Graph implementation data-structure blocks</is>
|
|
28
|
+
<documentation>GraphNode, GraphPath, and related ValueTypes used as capability payloads.</documentation>
|
|
29
|
+
<abstract>true</abstract>
|
|
30
|
+
<references>
|
|
31
|
+
<see type="bom:UrmodellType" relation="SeeAlso" />
|
|
32
|
+
</references>
|
|
33
|
+
</block>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph — IndexStatus
|
|
3
|
+
FQN: org.blockml.bml.graph.IndexStatus
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>IndexStatus</name>
|
|
25
|
+
<type>graph:IndexStatus</type>
|
|
26
|
+
<baseType>graph:GraphType</baseType>
|
|
27
|
+
<is>Presence and freshness of the persisted graph index</is>
|
|
28
|
+
<documentation>state is missing, ready, or stale.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<state type="type:Text">
|
|
31
|
+
<documentation>state (required). TS type: type:Text.</documentation>
|
|
32
|
+
</state>
|
|
33
|
+
<blocks type="type:Integer">
|
|
34
|
+
<documentation>blocks (optional). TS type: type:Integer.</documentation>
|
|
35
|
+
</blocks>
|
|
36
|
+
<members type="type:Integer">
|
|
37
|
+
<documentation>members (optional). TS type: type:Integer.</documentation>
|
|
38
|
+
</members>
|
|
39
|
+
<indexDir type="type:Text">
|
|
40
|
+
<documentation>indexDir (required). TS type: type:Text.</documentation>
|
|
41
|
+
</indexDir>
|
|
42
|
+
</properties>
|
|
43
|
+
</block>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
BlockML Graph Library Descriptor
|
|
3
|
+
FQN: org.blockml.bml.graph.Library
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>Library</name>
|
|
25
|
+
<type>graph:Library</type>
|
|
26
|
+
<baseType>core:BlockLibrary</baseType>
|
|
27
|
+
<is>The BlockML Graph package library catalog</is>
|
|
28
|
+
|
|
29
|
+
<documentation>
|
|
30
|
+
Canonical graph specification for BlockML — local authored structural graph
|
|
31
|
+
over the validate --all BML corpus. TypeScript in packages/graph/src/ implements this library.
|
|
32
|
+
Membership is defined exclusively by this blocks list.
|
|
33
|
+
</documentation>
|
|
34
|
+
|
|
35
|
+
<version>0.9.1</version>
|
|
36
|
+
|
|
37
|
+
<language>
|
|
38
|
+
<English />
|
|
39
|
+
</language>
|
|
40
|
+
|
|
41
|
+
<properties>
|
|
42
|
+
<description override="true">
|
|
43
|
+
<value>BlockML Graph library</value>
|
|
44
|
+
</description>
|
|
45
|
+
</properties>
|
|
46
|
+
|
|
47
|
+
<aggregations>
|
|
48
|
+
<readMe>
|
|
49
|
+
<composition>
|
|
50
|
+
<graph:README />
|
|
51
|
+
</composition>
|
|
52
|
+
</readMe>
|
|
53
|
+
<dependencies>
|
|
54
|
+
<composition>
|
|
55
|
+
<blockml:Library />
|
|
56
|
+
<bom:Library />
|
|
57
|
+
<framework:Library />
|
|
58
|
+
</composition>
|
|
59
|
+
</dependencies>
|
|
60
|
+
<blocks>
|
|
61
|
+
<composition>
|
|
62
|
+
<graph:GraphType />
|
|
63
|
+
<graph:GraphIndexOptions />
|
|
64
|
+
<graph:GraphNode />
|
|
65
|
+
<graph:GraphEdge />
|
|
66
|
+
<graph:GraphNeighbor />
|
|
67
|
+
<graph:GraphMember />
|
|
68
|
+
<graph:GraphPath />
|
|
69
|
+
<graph:GraphQueryResult />
|
|
70
|
+
<graph:IndexStatus />
|
|
71
|
+
<graph:BuildIndexResult />
|
|
72
|
+
<graphcap:BuildIndex />
|
|
73
|
+
<graphcap:OpenIndex />
|
|
74
|
+
<graphcap:RebuildIndex />
|
|
75
|
+
<graphcap:Uses />
|
|
76
|
+
<graphcap:UsedBy />
|
|
77
|
+
<graphcap:Neighbors />
|
|
78
|
+
<graphcap:Ancestors />
|
|
79
|
+
<graphcap:Descendants />
|
|
80
|
+
<graphcap:Path />
|
|
81
|
+
<graphcap:Members />
|
|
82
|
+
<graphcap:Query />
|
|
83
|
+
<graphcap:Schema />
|
|
84
|
+
<graphdocumentation:Introduction />
|
|
85
|
+
<graphdocumentation:LayerSeparation />
|
|
86
|
+
<graphdocumentation:ArchitectureOverview />
|
|
87
|
+
<graphdocumentation:V1Scope />
|
|
88
|
+
<graphdocumentation:PublicApi />
|
|
89
|
+
<graphdocumentation:PackageOwnership />
|
|
90
|
+
<graphdocumentation:ScopeExclusions />
|
|
91
|
+
</composition>
|
|
92
|
+
</blocks>
|
|
93
|
+
</aggregations>
|
|
94
|
+
|
|
95
|
+
</block>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
BlockML Graph — README
|
|
3
|
+
FQN: org.blockml.bml.graph.README
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>README</name>
|
|
25
|
+
<type>graph:README</type>
|
|
26
|
+
<baseType>core:ReadMe</baseType>
|
|
27
|
+
<is>Reading entry for the Graph library</is>
|
|
28
|
+
<documentation>The @blockml/graph package indexes the effective BML corpus of a project
|
|
29
|
+
(same as blockml validate --all) as an authored structural graph.
|
|
30
|
+
|
|
31
|
+
Start at org.blockml.bml.graph.documentation.Introduction.</documentation>
|
|
32
|
+
<references>
|
|
33
|
+
<see type="graphdocumentation:Introduction" relation="ReadFirst" />
|
|
34
|
+
<see type="graphdocumentation:PublicApi" relation="SeeAlso" />
|
|
35
|
+
</references>
|
|
36
|
+
</block>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Graph Capability — Ancestors
|
|
3
|
+
FQN: org.blockml.bml.graph.capability.Ancestors
|
|
4
|
+
-->
|
|
5
|
+
<block
|
|
6
|
+
xmlns="http://blockml.org/bml"
|
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
+
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:core="org.blockml.bml.core"
|
|
16
|
+
xmlns:def="org.blockml.bml.definition"
|
|
17
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
18
|
+
xmlns:fwcap="org.blockml.bml.framework.capability"
|
|
19
|
+
xmlns:graph="org.blockml.bml.graph"
|
|
20
|
+
xmlns:graphcap="org.blockml.bml.graph.capability"
|
|
21
|
+
xmlns:graphdocumentation="org.blockml.bml.graph.documentation"
|
|
22
|
+
xmlns:type="org.blockml.bml.type">
|
|
23
|
+
|
|
24
|
+
<name>Ancestors</name>
|
|
25
|
+
<type>graphcap:Ancestors</type>
|
|
26
|
+
<baseType>core:Capability</baseType>
|
|
27
|
+
<is>BASE_TYPE walk toward roots</is>
|
|
28
|
+
<documentation>Only BASE_TYPE. Default depth 16.</documentation>
|
|
29
|
+
<properties>
|
|
30
|
+
<fqn type="type:Text">
|
|
31
|
+
<documentation>Block FQN. (required)</documentation>
|
|
32
|
+
</fqn>
|
|
33
|
+
<depth type="type:Integer">
|
|
34
|
+
<documentation>Max hops (optional).</documentation>
|
|
35
|
+
</depth>
|
|
36
|
+
<nodes type="graph:GraphNode[]">
|
|
37
|
+
<documentation>Ancestor blocks. (required)</documentation>
|
|
38
|
+
</nodes>
|
|
39
|
+
</properties>
|
|
40
|
+
</block>
|