diff --git a/libs/shared/lib/schema/panel/Schema.tsx b/libs/shared/lib/schema/panel/Schema.tsx index aae59bad9af71d24fecc51943351bd01c1755e12..150a546d17db8e8e6e283b8b9b91fa9393dcfa7c 100644 --- a/libs/shared/lib/schema/panel/Schema.tsx +++ b/libs/shared/lib/schema/panel/Schema.tsx @@ -98,6 +98,9 @@ export const Schema = (props: Props) => { await layout.current?.layout(expandedSchema, xy); const schemaFlow = schemaGraphology2Reactflow(expandedSchema, settings.connectionType, settings.animatedEdges); + schemaFlow.nodes = schemaFlow.nodes.filter((node) => !node.id.toLowerCase().includes('bloom')); + schemaFlow.edges = schemaFlow.edges.filter((edge) => !edge.id.toLowerCase().includes('bloom')); + let nodesWithRef, edgesWithRef; if (!hasLayoutBeenRun) { nodesWithRef = schemaFlow.nodes.map((node) => { @@ -263,10 +266,7 @@ export const Schema = (props: Props) => { </> } > - <div - className="schema-panel w-full h-full flex flex-col justify-between" - ref={reactFlowRef} - > + <div className="schema-panel w-full h-full flex flex-col justify-between" ref={reactFlowRef}> {nodes.length === 0 ? ( <p className="m-3 text-xl font-bold">No Elements</p> ) : (